Method: Aggkit::Watcher#log

Defined in:
lib/aggkit/watcher.rb

#log(msg) ⇒ Object



48
49
50
# File 'lib/aggkit/watcher.rb', line 48

def log msg
  @iolock.synchronize{ STDOUT.puts("[watcher][#{Time.now.strftime('%H:%M:%S.%L')}]: #{msg}") }
end