ch.elca.el4j.util.socketstatistics.genericlogger
Class SLF4JLogger
java.lang.Object
  
ch.elca.el4j.util.socketstatistics.genericlogger.GenericLogger
      
ch.elca.el4j.util.socketstatistics.genericlogger.SLF4JLogger
public class SLF4JLogger
- extends GenericLogger
 
The facade to the SLF4J logger.
- Author:
 
  - Jonas Hauenstein (JHN)
 
- File-location:
 - SLF4JLogger
 - 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 | 
 
SLF4JLogger
public SLF4JLogger(Object originallogger)
- Constructor.
 This GenericLogger is using the SLF4J 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.