Content deleted Content added
No edit summary |
|||
Line 14:
===Logger===
A Logger is an object that allows the application to log without regard to where the output is sent/stored. The application logs a message by passing an object or an object and an [[Exception handling|exception]] with an optional severity level to the logger object under a given a name/identifier.
====Name====
A logger has a name. The name is usually structured hierarchically, with periods (.) separating the levels. A common scheme is to use the name of the class or package that is doing the logging. Both [[log4j]] and the Java logging [[API]] support defining Handlers higher up the hierarchy.
|