Level

izumi.logstage.api.Log.Level
See theLevel companion object
sealed trait Level extends Ordered[Level]

Attributes

Companion
object
Graph
Supertypes
trait Ordered[Level]
trait Comparable[Level]
class Object
trait Matchable
class Any
Known subtypes
object Audit
object Crit
object Debug
object Error
object Info
object Trace
object Warn
Show all

Members list

Value members

Concrete methods

override def compare(that: Level): Int

Result of comparing this with operand that.

Result of comparing this with operand that.

Implement this method to determine how instances of A will be sorted.

Returns x where:

  • x < 0 when this < that

  • x == 0 when this == that

  • x > 0 when this > that

Value parameters

that

the instance to compare against

Attributes

Returns

an integer whose sign indicates the ordering relation between this and that

Definition Classes
Ordered

Inherited methods

def <(that: Level): Boolean

Returns true if this is less than that

Returns true if this is less than that

Value parameters

that

the instance to compare against

Attributes

Inherited from:
Ordered
def <=(that: Level): Boolean

Returns true if this is less than or equal to that.

Returns true if this is less than or equal to that.

Attributes

Inherited from:
Ordered
def >(that: Level): Boolean

Returns true if this is greater than that.

Returns true if this is greater than that.

Value parameters

that

the instance to compare against

Attributes

Inherited from:
Ordered
def >=(that: Level): Boolean

Returns true if this is greater than or equal to that.

Returns true if this is greater than or equal to that.

Attributes

Inherited from:
Ordered
def compareTo(that: Level): Int

Result of comparing this with operand that.

Result of comparing this with operand that.

Value parameters

that

the instance to compare against

Attributes

Inherited from:
Ordered