org.codehaus.mojo.pluginsupport.logging
Class DelegatingLog
java.lang.Object
org.codehaus.mojo.pluginsupport.logging.DelegatingLog
- All Implemented Interfaces:
- Serializable, Log
public class DelegatingLog
- extends Object
- implements Log, Serializable
Jakarta Commons Logging Log which delegates to another Log type.
- Version:
- $Id: DelegatingLog.java 3428 2007-02-27 00:29:22Z user57 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingLog
public DelegatingLog(String name)
setDelegateType
public static void setDelegateType(Class type)
getDelegate
public static Log getDelegate(String name)
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface Log
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface Log
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interface Log
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface Log
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface Log
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface Log
trace
public void trace(Object object)
- Specified by:
trace
in interface Log
trace
public void trace(Object object,
Throwable throwable)
- Specified by:
trace
in interface Log
debug
public void debug(Object object)
- Specified by:
debug
in interface Log
debug
public void debug(Object object,
Throwable throwable)
- Specified by:
debug
in interface Log
info
public void info(Object object)
- Specified by:
info
in interface Log
info
public void info(Object object,
Throwable throwable)
- Specified by:
info
in interface Log
warn
public void warn(Object object)
- Specified by:
warn
in interface Log
warn
public void warn(Object object,
Throwable throwable)
- Specified by:
warn
in interface Log
error
public void error(Object object)
- Specified by:
error
in interface Log
error
public void error(Object object,
Throwable throwable)
- Specified by:
error
in interface Log
fatal
public void fatal(Object object)
- Specified by:
fatal
in interface Log
fatal
public void fatal(Object object,
Throwable throwable)
- Specified by:
fatal
in interface Log
Copyright © 2011 Codehaus. All Rights Reserved.