LogLevel

LogLevel

Definition

Description

Fatal

Fatal level

Error

Error level

Warning

Warning level

Information

Information level

Debug

Debug level


getCode

Method Signature

public int getCode() 

Return Value

Type

Description

int

Log level

Description

Retrieves the log level.

Sample Code

int level = logLevel.getCode(); 

getName

Method Signature

public String getName() 

Return Value

Type

Description

String

Log level name

Description

Retrieves the name of the log level.

Sample Code

String name = logLevel.getName();