Class | Description |
---|---|
A_LoggingAdapter |
Base class of all logging adapters.
Most common logging operations go through logger adapters so that the other parts of the application do not need to know the detail. |
LogRecord |
An object of this class contains necessary information to log.
|
PrintStreamLoggingAdapter |
This adapter uses [java.io.PrintStream] as logger, such as [System.out] and
[System.err] and so on.
|
Enum | Description |
---|---|
Level |
Message level.
ALL, value Integer.MAX. Usually uses for logging control, log every thing. DETAIL, value 0. This level is recommended to log the detail information of the application. TRACE, value 1000. This level is recommended to log the detail information of the application. DEBUG, value 2000. This level is recommended to log something noteworthy. CONFIG, value 3000. This level is recommended to show some configuration. INFO, value 4000. This level is recommended to use while the application hits the designed target. WARNING, value 5000. This level is recommended to use while the application PARTLY fails to hit the designed target. ERROR, value 6000. This level is recommended to use while the application TOTALLY fails to hit the designed target. FATAL, value 7000. This level is recommended to use while the application TOTALY fails to hit the designed target, AND CAN DAMAGE SOMETHING OUT OF THE APPLICATION. OFF, value Integer.MAX. Usually uses for logging control, log nothing. |
Exception | Description |
---|---|
WrongLoggerTypeException |
A logger adapter throws this exception while the adapter receives a logger
with a type that the adapter can not handle.
|