Module: Ocular::Logging::Severity

Defined in:
lib/ocular/logging/severity.rb

Overview

Logging severity.

Constant Summary collapse

LABELS =
%w(DEBUG INFO WARN ERROR FATAL ANY).each(&:freeze).freeze
DEBUG =

Low-level information, mostly for developers.

0
INFO =

Generic (useful) information about system operation.

1
WARN =

A warning.

2
ERROR =

A handleable error condition.

3
FATAL =

An unhandleable error that results in a program crash.

4
UNKNOWN =

An unknown message that should always be logged.

5