Level

public class Level implements Comparable<Level>

Logging level.

Inheritors

Types

Link copied to clipboard
public class All extends Level

All level corresponds to integer value of Int.MIN_VALUE. Note that this option may not be supported by all Logger implementations.

Link copied to clipboard
public final class Custom extends Level

Custom level allows you to specify your own values and store them statically.

Link copied to clipboard
public class Debug extends Level

Debug level corresponds to integer value of 400.

Link copied to clipboard
public class Error extends Level

Error level corresponds to integer value of 1000.

Link copied to clipboard
public class Info extends Level

Info level corresponds to integer value of 800.

Link copied to clipboard
public class Verbose extends Level

Verbose level corresponds to integer value of 300.

Link copied to clipboard
public class Warning extends Level

Warning level corresponds to integer value of 900.

Properties

Link copied to clipboard
private final Integer intValue

Integer representation of a given level.

Functions

Link copied to clipboard
public Integer compareTo(Level other)

Compares itself to other level for convenience.

Link copied to clipboard
public abstract Integer getIntValue()

Integer representation of a given level.