org.mmbase.util.logging.java |
org.mmbase.util.logging.java
Classes related to the java.util.logging package (new in java 1.4). There are two things which you may want:
-
Make MMBase log with java.util.logging.Logger's. This is possible with the 'Impl' class of
this package, which can be configured in log.xml. So, this wraps java.util.logging.Logger in
org.mmbase.util.logging.Logger.
-
You have some class which asks for a java.util.logging.Logger where it will log to, and you
want it to log to the MMBase log. For this, the 'MMBaseLogger' class is meant. So, this
wraps org.mmbase.util.logging.Logger in java.util.logging.Logger.
@since MMBase-1.8
|
Java Source File Name | Type | Comment |
Impl.java | Class | Since java 1.4 there is a Logger implemented in java itself; this MMBase Logger implementation
delegates all logging to this java framework. |
MMBaseLogger.java | Class | Since java 1.4 there is a Logger implemented in java itself, if you have code which requests a
java.util.logging.Logger object to which it will log to, and you want it to log the MMBase logger
then, you can offer it an instance of this class, which wraps an MMBase Logger object in a
java.util.logging.Logger object. |