Type Logging Tool | Operating system | |
![]() | ||
Developer(s) Apache Software Foundation Stable release 1.2 / July 2015 (2015-07) |
Apache Commons Logging (previously known as Jakarta Commons Logging, JCL) is a Java-based logging utility and a programming model for logging and for other toolkits. It provides APIs, log implementations, and wrapper implementations over some other tools.
Contents
JCL log level
The following table defines the log levels and messages in JCL, in decreasing order of severity. The left column lists the log level designation in and the right column provides a brief description of each log level.
Configuration
Two basic abstractions, Log and LogFactory, are used in JCL.
Example
Sample code may look like as follows:
References
Apache Commons Logging Wikipedia(Text) CC BY-SA