Class: CMDx::LogFormatters::Raw
- Inherits:
-
Object
- Object
- CMDx::LogFormatters::Raw
- Defined in:
- lib/cmdx/log_formatters/raw.rb
Overview
Passthrough formatter that writes only the message (terminated with ‘“n”`). Useful when surrounding infrastructure already supplies severity and timestamp.
Instance Method Summary collapse
-
#call(severity, time, progname, message) ⇒ String
‘“#messagen”`.
Instance Method Details
#call(severity, time, progname, message) ⇒ String
Returns ‘“#messagen”`.
15 16 17 |
# File 'lib/cmdx/log_formatters/raw.rb', line 15 def call(severity, time, progname, ) "#{}\n" end |