enum

Log::Severity

Inherits Enum / Comparable / Value / Object

A logging severity level.

Constants

Trace = 0

Used for tracing the code and trying to find one part of a function specifically.

Debug = 1

Used for information that is diagnostically helpful to people more than just developers (IT, sysadmins, etc.).

Info = 2

Used for generally useful information to log.

Notice = 3

Used for normal but significant conditions.

Warn = 4

Used for conditions that can potentially cause application oddities, but that can be automatically recovered.

Error = 5

Used for any error that is fatal to the operation, but not to the service or application.

Fatal = 6

Used for any error that is forcing a shutdown of the service or application

None = 7

Used only for severity level filter.

Instance methods

debug?

Returns true if this enum value equals Debug

Source
error?

Returns true if this enum value equals Error

Source
fatal?

Returns true if this enum value equals Fatal

Source
info?

Returns true if this enum value equals Info

Source
label
Source
none?

Returns true if this enum value equals None

Source
notice?

Returns true if this enum value equals Notice

Source
trace?

Returns true if this enum value equals Trace

Source
warn?

Returns true if this enum value equals Warn

Source