Class: Stoplight::Infrastructure::Notifier::Logger
- Inherits:
-
Object
- Object
- Stoplight::Infrastructure::Notifier::Logger
show all
- Includes:
- Generic[::Logger], Generic, _StateTransitionNotifier
- Defined in:
- lib/stoplight/infrastructure/notifier/logger.rb,
sig/_private/stoplight/infrastructure/notifier/logger.rbs
Overview
Constant Summary
Constants included
from Generic
Generic::DEFAULT_FORMATTER
Instance Attribute Summary
Attributes included from Generic
#formatter
Instance Method Summary
collapse
Methods included from Generic
#initialize, #notify
#==, #class, #notify
Instance Method Details
#logger ⇒ ::Logger
10
11
12
|
# File 'lib/stoplight/infrastructure/notifier/logger.rb', line 10
def logger
@object
end
|
#put(message) ⇒ void
This method returns an undefined value.
14
15
16
|
# File 'lib/stoplight/infrastructure/notifier/logger.rb', line 14
def put(message)
logger.warn(message)
end
|