Class: Subserver::Logging::WithoutTimestamp

Inherits:
Pretty
  • Object
show all
Defined in:
lib/subserver/logging.rb

Constant Summary

Constants inherited from Pretty

Pretty::SPACE

Instance Method Summary collapse

Methods inherited from Pretty

#context

Instance Method Details

#call(severity, time, program_name, message) ⇒ Object



24
25
26
# File 'lib/subserver/logging.rb', line 24

def call(severity, time, program_name, message)
  "#{::Process.pid} TID-#{Subserver::Logging.tid}#{context} #{severity}: #{message}\n"
end