Content deleted Content added
Reverted 1 edit by 77.125.240.10. (TW) |
|||
Line 23:
A logger has a name. The name is usually hierarchical, with periods (.) separating the levels. A common naming scheme is to use the name of the class or package that is doing the loggings. Both [[log4j]] and the Java API supported defining Handlers higher up the hierarchy.
For example, the logger might be named "<code>com.sun.some.UsefulClass</code>". The handler can be defined for any of the following:
* <code>com</code>
* <code>com.sun</code>
* <code>com.sun.some</code>
* <code>com.sun.some.UsefulClass</code>
==== Level ====
|