Class: Thin::Logging::SimpleFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/thin/logging.rb

Overview

Simple formatter which only displays the message. Taken from ActiveSupport

Instance Method Summary collapse

Instance Method Details

#call(severity, timestamp, progname, msg) ⇒ Object



15
16
17
# File 'lib/thin/logging.rb', line 15

def call(severity, timestamp, progname, msg)
  "#{timestamp} #{String === msg ? msg : msg.inspect}\n"
end