Content deleted Content added
Shevonsilva (talk | contribs) No edit summary |
m Typos and general fixes using AWB |
||
Line 16:
| website = http://commons.apache.org/proper/commons-logging/
}}
'''Apache Commons Logging''' (previously known as '''Jakarta Commons Logging (JCL)''') is a [[Java platform|Java]]-based [[data logging|logging]] utility and a programming model for logging and for other toolkits. It provides [[Application programming interface|API]]s, log implementations, and [[Adapter pattern|wrapper]]
== 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 Jand the right column provides a brief description of each log level.
Line 42 ⟶ 43:
| '''trace'''
| Most detailed information. Expect these to be written to logs only.
|}<ref name=":ac_c"/><ref name=":ajc_120">{{Cite book|title = Apache Jakarta Commons - Reusable Java Components|last = Iverson|first = W.|publisher = Pearson Education, Inc.|year = 2005|___location = Crawfordsville, Indiana, USA|volume = |pages =
==Configuration==
Two basic abstractions, Log and LogFactory, are used in JCL.<ref name=":ac_c"/>
==Example==
Sample code may look like as follows:
Line 155 ⟶ 157:
}
}
</source><ref name=":ajc_120"/>
== See also ==
Line 161 ⟶ 163:
*[[log4j]]
*[[Chainsaw (log file viewer)]]
* {{GitHub|https://github.com/apache/commons-logging/commits?author=costinm}
==References==
{{Reflist}}
==External links==
* {{Official website|http://commons.apache.org/proper/commons-logging/}}
|