class Moon::Logfmt::Formatter

Identity Formatter, this was created to interact with the stdlib Logger::Formatter

Public Class Methods

default() click to toggle source

Returns the default instance of the formatter

@return [Formatter]

# File lib/moon-logfmt/formatter.rb, line 14
def self.default
  @default ||= new
end

Public Instance Methods

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

@return [String] message

# File lib/moon-logfmt/formatter.rb, line 7
def call(severity, time, progname, msg)
  msg
end