Class: Archfiend::Logging::BaseFormatter

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

Direct Known Subclasses

DefaultFormatter, JSONFormatter

Constant Summary collapse

STACK_ENTRIES_TO_SKIP =

How many stack frames to exclude from the backtrace

9
SEVERITY_STACK_ENTRIES_COUNT =

How many stack frames to include

{ # How many stack frames to include
  'FATAL' => 10,
  'ERROR' => 10,
  'WARN' => 5,
  'INFO' => 2,
  'DEBUG' => 2,
  'UNKNOWN' => 2
}.freeze