Class: Stoplight::Notifier::Logger

Inherits:
Base
  • Object
show all
Includes:
Generic
Defined in:
lib/stoplight/notifier/logger.rb

Overview

See Also:

Instance Attribute Summary

Attributes included from Generic

#formatter

Instance Method Summary collapse

Methods included from Generic

#initialize, #notify

Methods inherited from Base

#notify

Instance Method Details

#logger::Logger

Returns:

  • (::Logger)

10
11
12
# File 'lib/stoplight/notifier/logger.rb', line 10

def logger
  @object
end

#put(message) ⇒ Object


14
15
16
# File 'lib/stoplight/notifier/logger.rb', line 14

def put(message)
  logger.warn(message)
end