Class: Gruf::Interceptors::Instrumentation::RequestLogging::Formatters::Base
- Inherits:
-
Object
- Object
- Gruf::Interceptors::Instrumentation::RequestLogging::Formatters::Base
- Defined in:
- lib/gruf/interceptors/instrumentation/request_logging/formatters/base.rb
Overview
Base class for request log formatting
Instance Method Summary collapse
-
#format(_payload, request:, result:) ⇒ String
Format the parameters into a loggable string.
Instance Method Details
#format(_payload, request:, result:) ⇒ String
Format the parameters into a loggable string. Must be implemented in every derivative class
35 36 37 |
# File 'lib/gruf/interceptors/instrumentation/request_logging/formatters/base.rb', line 35 def format(_payload, request:, result:) raise NotImplementedError end |