Level

object Level extends Enumeration

An enumeration defining the levels available for logging. A level includes all of the levels with id larger than its own id. For example, Warn (id=3) includes Error (id=4).

class Enumeration
trait Serializable
class Object
trait Matchable
class Any

Type members

Inherited classlikes

@SerialVersionUID(value = -3501153230598116017L)
protected
class Val
Inherited from
Enumeration
@SerialVersionUID(value = 7091335633555234129L)
abstract
class Value
Inherited from
Enumeration
Inherited from
Enumeration
@SerialVersionUID(value = 7229671200427364242L)
class ValueSet
Inherited from
Enumeration
@SerialVersionUID(value = 3L)
object ValueSet
Inherited from
Enumeration

Value members

Concrete methods

def apply(s: String): Option[Value]

Returns the level with the given name wrapped in Some, or None if no level exists for that name.

Returns the level with the given name wrapped in Some, or None if no level exists for that name.

def union(a: Value, b: Value): Value
def unionAll(vs: Seq[Value]): Value

Inherited methods

final protected
def Value(i: Int, name: String): Value
Inherited from
Enumeration
final protected
def Value(name: String): Value
Inherited from
Enumeration
final protected
def Value(i: Int): Value
Inherited from
Enumeration
final protected
Inherited from
Enumeration
final
def apply(x: Int): Value
Inherited from
Enumeration
final
def maxId: Int
Inherited from
Enumeration
protected
def readResolve(): AnyRef
Inherited from
Enumeration
override
def toString(): String
Definition Classes
Enumeration -> Any
Inherited from
Enumeration
Inherited from
Enumeration
final
def withName(s: String): Value
Inherited from
Enumeration

Concrete fields

val Info: Value
val SuccessLabel: String

Defines the label to use for success messages. Because the label for levels is defined in this module, the success label is also defined here.

Defines the label to use for success messages. Because the label for levels is defined in this module, the success label is also defined here.

val Warn: Value