org.ocpsoft.logging
Class JDKLogAdapter
java.lang.Object
org.ocpsoft.logging.Logger
org.ocpsoft.logging.JDKLogAdapter
public class JDKLogAdapter
- extends Logger
Implementation of a log adapter that delegates to the JDK 1.4 logging API.
- Author:
- Christian Kaltepoth
| Methods inherited from class org.ocpsoft.logging.Logger |
debug, debug, debug, debug, debug, error, error, error, error, error, format, getLogger, getLogger, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDKLogAdapter
public JDKLogAdapter(String name)
log
protected void log(Logger.Level level,
String msg,
Throwable t)
- Specified by:
log in class Logger
isEnabled
protected boolean isEnabled(Logger.Level level)
- Specified by:
isEnabled in class Logger
getJdkLogLevel
protected final Level getJdkLogLevel(Logger.Level level)
- Translates the log level to JDK
Level class.
Copyright © 2012 OCPsoft. All Rights Reserved.