Class: Airfoil::CloudwatchFormatter

Inherits:
Logger::Formatter
  • Object
show all
Defined in:
lib/airfoil/cloudwatch_formatter.rb

Instance Method Summary collapse

Instance Method Details

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



5
6
7
# File 'lib/airfoil/cloudwatch_formatter.rb', line 5

def call(severity, datetime, progname, msg)
  "#{severity} RequestId: #{ENV["AWS_REQUEST_ID"]} #{msg}\n"
end