Class: CMDx::LogFormatters::Raw
- Inherits:
-
Object
- Object
- CMDx::LogFormatters::Raw
- Defined in:
- lib/cmdx/log_formatters/raw.rb
Overview
Formats log messages as raw text without additional formatting
This formatter outputs log messages in their original form with minimal processing, adding only a trailing newline. It’s useful for scenarios where you want to preserve the exact message content without metadata or structured formatting.
Instance Method Summary collapse
-
#call(severity, time, progname, message) ⇒ String
Formats a log entry as raw text.
Instance Method Details
#call(severity, time, progname, message) ⇒ String
Formats a log entry as raw text
27 28 29 |
# File 'lib/cmdx/log_formatters/raw.rb', line 27 def call(severity, time, progname, ) "#{}\n" end |