case classLevel(intValue: Int, name: Option[String] = None) extends Ordered[Level] with Product with Serializable
Represents a log level of an Entry (sometimes known in other systems as "severity"). Levels are always
treated as their integer values internally. The only components that care about the names are the eventual entry
destinations, which could be log files or sockets, etc.
The names provided by the API are simply hints which the destination may choose use to format the entry.
The destinations may also choose to ignore the names and only use the numeric value or even translate the integers
to its own labels.
intValue
the numeric value of the level, used for comparison with other levels internally
name
a suggested name to use when ultimately writing entries logged at this level
Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[Level], Comparable[Level], AnyRef, Any
Represents a log level of an Entry (sometimes known in other systems as "severity"). Levels are always treated as their integer values internally. The only components that care about the names are the eventual entry destinations, which could be log files or sockets, etc.
The names provided by the API are simply hints which the destination may choose use to format the entry. The destinations may also choose to ignore the names and only use the numeric value or even translate the integers to its own labels.
the numeric value of the level, used for comparison with other levels internally
a suggested name to use when ultimately writing entries logged at this level