org.ops4j.pax.logging.internal
Class BufferingLog
java.lang.Object
org.ops4j.pax.logging.internal.BufferingLog
- All Implemented Interfaces:
- PaxLogger
public class BufferingLog
- extends java.lang.Object
- implements PaxLogger
Experimental fallback strategy for non-availability.
Constructor Summary |
BufferingLog(org.osgi.framework.Bundle bundle,
java.lang.String categoryName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferingLog
public BufferingLog(org.osgi.framework.Bundle bundle,
java.lang.String categoryName)
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface PaxLogger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface PaxLogger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface PaxLogger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface PaxLogger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface PaxLogger
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabled
in interface PaxLogger
trace
public void trace(java.lang.String message,
java.lang.Throwable t)
- Specified by:
trace
in interface PaxLogger
debug
public void debug(java.lang.String message,
java.lang.Throwable t)
- Specified by:
debug
in interface PaxLogger
inform
public void inform(java.lang.String message,
java.lang.Throwable t)
- Specified by:
inform
in interface PaxLogger
warn
public void warn(java.lang.String message,
java.lang.Throwable t)
- Specified by:
warn
in interface PaxLogger
error
public void error(java.lang.String message,
java.lang.Throwable t)
- Specified by:
error
in interface PaxLogger
fatal
public void fatal(java.lang.String message,
java.lang.Throwable t)
- Specified by:
fatal
in interface PaxLogger
getLogLevel
public int getLogLevel()
- Specified by:
getLogLevel
in interface PaxLogger
getName
public java.lang.String getName()
- Specified by:
getName
in interface PaxLogger
getPaxContext
public PaxContext getPaxContext()
- Specified by:
getPaxContext
in interface PaxLogger
Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.