module Airbrake::Loggable

def instance

Returns:
  • (Logger) -
def instance
  @instance ||= ::Logger.new(File::NULL).tap { |l| l.level = ::Logger::WARN }
end

def logger

Returns:
  • (Logger) - standard Ruby logger object
def logger
  Loggable.instance
end