Fan

 

const final enum

sys::LogLevel

sys::Obj
  sys::Enum
    sys::LogLevel

@simple

LogLevel provides a set of discrete levels used to customize logging. See docLang::Logging for details.

Slots

debugSource

static LogLevel debug := LogLevel.make(0, "debug")

errorSource

static LogLevel error := LogLevel.make(3, "error")

fromStrSource

static LogLevel? fromStr(Str name, Bool checked := true)

Return the LogLevel instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

infoSource

static LogLevel info := LogLevel.make(1, "info")

silentSource

static LogLevel silent := LogLevel.make(4, "silent")

valuesSource

static LogLevel[] values := ...

List of LogLevel values indexed by ordinal

warnSource

static LogLevel warn := LogLevel.make(2, "warn")