Package | Description |
---|---|
org.apache.log4j |
Logging API of Apache Log4j 1.2 for tinylog 2.
|
Modifier and Type | Field and Description |
---|---|
static Level |
Level.ALL
The
ALL has the lowest possible rank and is intended to turn on all logging. |
static Level |
Level.DEBUG
The
DEBUG Level designates fine-grained informational events that are most useful to debug an
application. |
static Level |
Level.ERROR
The
ERROR level designates error events that might still allow the application to continue running. |
static Level |
Level.FATAL
The
FATAL level designates very severe error events that will presumably lead the application to abort. |
static Level |
Level.INFO
The
INFO level designates informational messages that highlight the progress of the application at
coarse-grained level. |
static Level |
Level.OFF
The
OFF has the highest possible rank and is intended to turn off logging. |
static Level |
Level.TRACE
The
TRACE Level designates finer-grained informational events than the DEBUG level. |
static Level |
Level.WARN
The
WARN level designates potentially harmful situations. |
Modifier and Type | Method and Description |
---|---|
Level |
Category.getEffectiveLevel()
Starting from this category, search the category hierarchy for a non-null level and return it.
|
Level |
Category.getLevel()
Returns the assigned
Level , if any, for this Category. |
Level |
Category.getPriority()
Deprecated.
Please use
Category.getLevel() instead. |
static Level |
Level.toLevel(int val)
Convert an integer passed as argument to a level.
|
static Level |
Level.toLevel(int val,
Level defaultLevel)
Convert an integer passed as argument to a level.
|
static Level |
Level.toLevel(String sArg)
Convert the string passed as argument to a level.
|
static Level |
Level.toLevel(String sArg,
Level defaultLevel)
Convert the string passed as argument to a level.
|
Modifier and Type | Method and Description |
---|---|
void |
Category.setLevel(Level level)
Set the level of this Category.
|
static Level |
Level.toLevel(int val,
Level defaultLevel)
Convert an integer passed as argument to a level.
|
static Level |
Level.toLevel(String sArg,
Level defaultLevel)
Convert the string passed as argument to a level.
|
Copyright © 2020. All rights reserved.