ch.elca.el4j.util.socketstatistics.genericlogger
Class CommonsLoggingLogger
java.lang.Object
ch.elca.el4j.util.socketstatistics.genericlogger.GenericLogger
ch.elca.el4j.util.socketstatistics.genericlogger.CommonsLoggingLogger
public class CommonsLoggingLogger
- extends GenericLogger
The facade to the Apache Commons Logging logger.
- Author:
- Jonas Hauenstein (JHN)
- File-location:
- CommonsLoggingLogger
- Last check-in date:
- 2010-01-15 14:26:34 +0100 (Fr, 15. Jan 2010) by jonasha for revision 4093
Method Summary |
void |
log(String level,
String msg)
Log a message under the specified log level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonsLoggingLogger
public CommonsLoggingLogger(Object originallogger)
- Constructor.
This GenericLogger is using the Apache Commons Logging Logger for logging.
- Parameters:
originallogger
- Reference to the actually used logger for reflective calls
log
public void log(String level,
String msg)
- Log a message under the specified log level.
The level can be:
- debug
- error
- info
- trace
- warn
- Specified by:
log
in class GenericLogger
- Parameters:
level
- The log level of the messagemsg
- The log message
Copyright © 2005-2011 ELCA. All Rights Reserved.