class SemanticLogger::Appender::Bugsnag

def log(log)

def log(log)
  # Ignore logs coming from Bugsnag itself
  return false if log.name == "Bugsnag"
  # Send error messages as Runtime exceptions
  exception = extract_exception(log)
  hash      = formatter.call(log, self)
  bugsnag_notify(exception, hash, log_level(log.level))
  true
end