class Logtail::Logger::MessageOnlyFormatter

For use in development and test environments where you do not want metadata included in the log lines.

Public Instance Methods

call(severity, timestamp, progname, msg) click to toggle source

This method is invoked when a log event occurs

# File lib/logtail/logger.rb, line 73
def call(severity, timestamp, progname, msg)
  log_entry = build_log_entry(severity, timestamp, progname, msg)
  log_entry.to_s
end