[Groonga-commit] long-long-float/droonga-engine at bce54a8 [master] Make WorkerProcessAgent loggable

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 4 17:03:15 JST 2014


YUKI Hiroshi	2014-09-04 17:03:15 +0900 (Thu, 04 Sep 2014)

  New Revision: bce54a8b0db2e09e1b92717561becf3d6f7dda31
  https://github.com/long-long-float/droonga-engine/commit/bce54a8b0db2e09e1b92717561becf3d6f7dda31

  Message:
    Make WorkerProcessAgent loggable

  Modified files:
    lib/droonga/worker_process_agent.rb

  Modified: lib/droonga/worker_process_agent.rb (+6 -0)
===================================================================
--- lib/droonga/worker_process_agent.rb    2014-09-04 17:02:35 +0900 (28e4fa6)
+++ lib/droonga/worker_process_agent.rb    2014-09-04 17:03:15 +0900 (259c1e1)
@@ -17,10 +17,12 @@ require "coolio"
 
 require "droonga/process_control_protocol"
 require "droonga/line_buffer"
+require "droonga/loggable"
 
 module Droonga
   class WorkerProcessAgent
     include ProcessControlProtocol
+    include Loggable
 
     def initialize(loop, input, output)
       @loop = loop
@@ -107,5 +109,9 @@ module Droonga
     def on_stop_immediately
       @on_stop_immediately.call if @on_stop_immediately
     end
+
+    def log_tag
+      "worker_process_agent"
+    end
   end
 end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index