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)


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

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.



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

def level
  Logger::Severity::DEBUG
end