lib/jets_rails/logger.rb
# This method is invoked when a log event occurs
This method is invoked when a log event occurs
This method is invoked when a log event occurs
def call(severity, timestamp, progname, msg)
    result = "#{String === msg ? msg : msg.inspect}\n"
    IO.write("/tmp/jets-output.log", "Rails: #{result}", mode: 'a')
    result
  end
def call ( severity , timestamp , progname , msg ) result = "#{String === msg ? msg : msg.inspect}\n" IO . write ( "/tmp/jets-output.log" , "Rails: #{result}" , mode : 'a' ) result end
This method is invoked when a log event occurs
This method is invoked when a log event occurs
severity
timestamp
progname
msg