Class: ExternalLoggerInterface
- Inherits:
-
Object
- Object
- ExternalLoggerInterface
- Defined in:
- lib/rage/configuration.rb
Overview
Note:
This class does not exist at runtime and is used for documentation purposes only. Do not inherit external loggers from it.
Instance Method Summary collapse
-
#call(severity:, tags:, context:, message:, request_info:) ⇒ Object
Called whenever a log entry is created.
Instance Method Details
#call(severity:, tags:, context:, message:, request_info:) ⇒ Object
Called whenever a log entry is created.
Rage automatically detects which parameters your external logger’s #call method accepts, and only passes those parameters. You can omit any of the described parameters in your implementation.
29 30 |
# File 'lib/rage/configuration.rb', line 29 def call(severity:, tags:, context:, message:, request_info:) end |