lib/semantic_logger/appender/bugsnag.rb
# Returns [Hash] of parameters to send to Bugsnag.
Returns [Hash] of parameters to send to Bugsnag.
Returns [ Hash ] of parameters to send to Bugsnag .
def call(log, logger)
    h            = SemanticLogger::Formatters::Raw.new.call(log, logger)
    h[:severity] = log_level(log)
    h.delete(:message) if h[:exception] && (h[:message] == h[:exception][:message])
    h.delete(:time)
    h.delete(:exception)
    h
  end
def call ( log , logger ) h = SemanticLogger :: Formatters :: Raw . new . call ( log , logger ) h [ :severity ] = log_level ( log ) h . delete ( :message ) if h [ :exception ] && ( h [ :message ] == h [ :exception ] [ :message ] ) h . delete ( :time ) h . delete ( :exception ) h end
Returns [Hash] of parameters to send to Bugsnag.
Returns [ Hash ] of parameters to send to Bugsnag .
log
logger