| ALL | = 0 | This level currently logs at the same level as FINEST. | |
| FINEST | = 1 | This level enables logging of more debugging information than the FINER setting, such as a very detailed information about certain features (for example, sequencing). You may want to use this log level during debugging and testing, but not at production. | |
| FINER | = 2 | This level enables logging of more debugging information than the FINE setting. For example, the transaction information is logged at this level. You may want to use this log level during debugging and testing, but not at production. | |
| FINE | = 3 | This level enables logging of the first level of the debugging information and SQL. You may want to use this log level during debugging and testing, but not at production. | |
| CONFIG | = 4 | This level enables logging of such configuration details as your database login information and some metadata information. You may want to use the CONFIG log level at deployment time. | |
| INFO | = 5 | This level enables the standard output. The contents of this output is very limited. It is the default logging level if a logging level is not set. | |
| WARNING | = 6 | This level enables logging of issues that have a potential to cause problems. For example, a setting that is picked by the application and not by the user. | |
| SEVERE | = 7 | This level enables reporting of failure cases only. Usually, if the failure occurs, the application stops. | |
| OFF | = 8 | This setting disables the generation of the log output. You may want to set logging to OFF during production to avoid the overhead of logging. |
| Modifier and Type | Field and Description |
|---|---|
| public static final LogLevel | ALL
Log everything. |
| public static final LogLevel | CONFIG
Configuration information logging level. |
| public static final LogLevel | FINE
Fine logging level. |
| public static final LogLevel | FINER
Finer logging level. |
| public static final LogLevel | FINEST
Finest (the most detailed) logging level. |
| private final byte | id
Logging level ID. Continuous integer sequence starting from 0. |
| private static final LogLevel[] | |
| public static final LogLevel | INFO
Informational messages. |
| public static final int | length
Logging levels enumeration length. |
| private final String | name
Hides java. |
| public static final LogLevel | OFF
Logging is turned off. |
| public static final LogLevel | SEVERE
Fatal exceptions. |
| private static final Map | |
| public static final LogLevel | WARNING
Exceptions that are not fatal. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public String | |
| public boolean | |
| public boolean | Returns: Value oftrue if the given message logging level will be logged or false otherwise.Message logging level. id)Check if a message of the given level ID would actually be logged under this logging level. |
| public static LogLevel | |
| public static LogLevel | |
| public static LogLevel | |
| public static LogLevel | |
| public static LogLevel | |
| public static LogLevel[] |
| ALL | back to summary |
|---|---|
| public static final LogLevel ALL Log everything. | |
| CONFIG | back to summary |
|---|---|
| public static final LogLevel CONFIG Configuration information logging level. | |
| FINE | back to summary |
|---|---|
| public static final LogLevel FINE Fine logging level. | |
| FINER | back to summary |
|---|---|
| public static final LogLevel FINER Finer logging level. | |
| FINEST | back to summary |
|---|---|
| public static final LogLevel FINEST Finest (the most detailed) logging level. | |
| id | back to summary |
|---|---|
| private final byte id Logging level ID. Continuous integer sequence starting from 0. | |
| idValues | back to summary |
|---|---|
| private static final LogLevel[] idValues Array for id to | |
| INFO | back to summary |
|---|---|
| public static final LogLevel INFO Informational messages. | |
| length | back to summary |
|---|---|
| public static final int length Logging levels enumeration length. | |
| name | back to summary |
|---|---|
| private final String name Hides java. Logging level name. | |
| OFF | back to summary |
|---|---|
| public static final LogLevel OFF Logging is turned off. | |
| SEVERE | back to summary |
|---|---|
| public static final LogLevel SEVERE Fatal exceptions. | |
| stringValuesMap | back to summary |
|---|---|
| private static final Map<String, LogLevel> stringValuesMap | |
| WARNING | back to summary |
|---|---|
| public static final LogLevel WARNING Exceptions that are not fatal. | |
| LogLevel | back to summary |
|---|---|
| private LogLevel(final byte id, final String name) Creates an instance of logging level.
| |
| getId | back to summary |
|---|---|
| public byte getId() Get logging level ID.
| |
| getName | back to summary |
|---|---|
| public String getName() Get logging level name.
| |
| shouldLog | back to summary |
|---|---|
| public boolean shouldLog(final LogLevel level) Check if a message of the given level would actually be logged under this logging level.
| |
| shouldLog | back to summary |
|---|---|
| public boolean shouldLog(final byte id) Check if a message of the given level ID would actually be logged under this logging level.
| |
| toValue | back to summary |
|---|---|
| public static LogLevel toValue(final String name) Returns | |
| toValue | back to summary |
|---|---|
| public static LogLevel toValue(final String name, final LogLevel fallBack) Returns | |
| toValue | back to summary |
|---|---|
| public static LogLevel toValue(final int id) Returns | |
| toValue | back to summary |
|---|---|
| public static LogLevel toValue(final int id, final LogLevel fallBack) Returns | |
| valueOf | back to summary |
|---|---|
| public static LogLevel valueOf(String name) | |
| values | back to summary |
|---|---|
| public static LogLevel[] values() | |