LogLevel

Inheritance: java.lang.Object

public class LogLevel

Defines available log levels.

Fields

FieldDescription
DebugThe Debug level.
ErrorThe Error level.
FatalThe Fatal level.
InformationThe Info level.
TraceThe Trace level.
WarningThe Warn level.

Methods

MethodDescription
compareTo(Object obj)Compares the level to the other LogLevel object.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
op_GreaterThan(LogLevel l1, LogLevel l2)Compares two LogLevel objects and returns a value indicating whether the first one is greater than the second one.
op_GreaterThanOrEqual(LogLevel l1, LogLevel l2)Compares two LogLevel objects and returns a value indicating whether the first one is greater than or equal to the second one.
op_LessThan(LogLevel l1, LogLevel l2)Compares two LogLevel objects and returns a value indicating whether the first one is less than the second one.
op_LessThanOrEqual(LogLevel l1, LogLevel l2)Compares two LogLevel objects and returns a value indicating whether the first one is less than or equal to the second one.
toString()Returns a string representation of the log level.
wait()
wait(long arg0)
wait(long arg0, int arg1)

Debug

public static final LogLevel Debug

The Debug level.

Error

public static final LogLevel Error

The Error level.

Fatal

public static final LogLevel Fatal

The Fatal level.

Information

public static final LogLevel Information

The Info level.

Trace

public static final LogLevel Trace

The Trace level.

Warning

public static final LogLevel Warning

The Warn level.

compareTo(Object obj)

public final int compareTo(Object obj)

Compares the level to the other LogLevel object.

Parameters:

ParameterTypeDescription
objjava.lang.Objectthe object object

Returns: int - a value less than zero when this logger’s Ordinal (#getOrdinal.getOrdinal) is less than the other logger’s ordinal, 0 when they are equal and greater than zero when this ordinal is greater than the other ordinal.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_GreaterThan(LogLevel l1, LogLevel l2)

public static boolean op_GreaterThan(LogLevel l1, LogLevel l2)

Compares two LogLevel objects and returns a value indicating whether the first one is greater than the second one.

Parameters:

ParameterTypeDescription
l1LogLevelThe first level.
l2LogLevelThe second level.

Returns: boolean - The value of l1.Ordinal > l2.Ordinal

op_GreaterThanOrEqual(LogLevel l1, LogLevel l2)

public static boolean op_GreaterThanOrEqual(LogLevel l1, LogLevel l2)

Compares two LogLevel objects and returns a value indicating whether the first one is greater than or equal to the second one.

Parameters:

ParameterTypeDescription
l1LogLevelThe first level.
l2LogLevelThe second level.

Returns: boolean - The value of l1.Ordinal >= l2.Ordinal

op_LessThan(LogLevel l1, LogLevel l2)

public static boolean op_LessThan(LogLevel l1, LogLevel l2)

Compares two LogLevel objects and returns a value indicating whether the first one is less than the second one.

Parameters:

ParameterTypeDescription
l1LogLevelThe first level.
l2LogLevelThe second level.

Returns: boolean - The value of l1.Ordinal < l2.Ordinal

op_LessThanOrEqual(LogLevel l1, LogLevel l2)

public static boolean op_LessThanOrEqual(LogLevel l1, LogLevel l2)

Compares two LogLevel objects and returns a value indicating whether the first one is less than or equal to the second one.

Parameters:

ParameterTypeDescription
l1LogLevelThe first level.
l2LogLevelThe second level.

Returns: boolean - The value of l1.Ordinal <= l2.Ordinal

toString()

public String toString()

Returns a string representation of the log level.

Returns: java.lang.String - Log level name.

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int