Class: Honeybadger::Logging::Base Private

Inherits:
Object
  • Object
show all
Defined in:
lib/honeybadger/logging.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Direct Known Subclasses

BootLogger, StandardLogger

Instance Method Summary collapse

Instance Method Details

#add(severity, msg) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

58
59
60
# File 'lib/honeybadger/logging.rb', line 58

def add(severity, msg)
  raise NotImplementedError, 'must define #add on subclass.'
end

#levelObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


62
63
64
# File 'lib/honeybadger/logging.rb', line 62

def level
  Logger::Severity::DEBUG
end