docker/pool/builder/lib/builder/builder_log_device.rb
def write(message)
      @m.synchronize do
        @logfile.write(message) unless @logfile.nil?
        @responses.each{|res| res.send_event("build_log", strip_control_chars(message)) }
      end
    end
# write and send to client the log message
write and send to client the log message
write and send to client the log message
def write(message)
      @m.synchronize do
        @logfile.write(message) unless @logfile.nil?
        @responses.each{|res| res.send_event("build_log", strip_control_chars(message)) }
      end
    end
def write ( message ) @m . synchronize do @logfile . write ( message ) unless @logfile . nil? @responses . each { | res | res . send_event ( "build_log" , strip_control_chars ( message ) ) } end end
write and send to client the log message
write and send to client the log message
message