Class: AppLogger::Formatter::Aws

Inherits:
Json
  • Object
show all
Defined in:
lib/app_logger/formatter/aws.rb

Constant Summary

Constants inherited from Json

Json::FORMAT

Class Method Summary collapse

Methods inherited from Json

#call, #initialize

Constructor Details

This class inherits a constructor from AppLogger::Formatter::Json

Class Method Details

.patternObject



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/app_logger/formatter/aws.rb', line 5

def pattern
  pattern = []
  pattern << ":client_class"
  pattern << ":http_response_status_code"
  pattern << ":time"
  pattern << ":retries"
  pattern << ":operation(:request_params)"
  pattern << ":error_class"
  pattern << ":error_message"
  pattern.join(' ') + "\n"
end