Class JBossLoggingLogger
- java.lang.Object
-
- org.jboss.logging.Logger
-
- org.ops4j.pax.logging.jbosslogging.JBossLoggingLogger
-
- All Implemented Interfaces:
Serializable,org.jboss.logging.BasicLogger,PaxLoggingManagerAwareLogger
public class JBossLoggingLogger extends org.jboss.logging.Logger implements PaxLoggingManagerAwareLogger
pax-logging specificLoggerthat delegates toPaxLoggerthat is obtained from framework specificPaxLoggingServiceand eventually delegates to logging implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JBossLoggingLogger(String name, PaxLogger delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoLog(org.jboss.logging.Logger.Level level, String fqcn, Object message, Object[] parameters, Throwable thrown)protected voiddoLogf(org.jboss.logging.Logger.Level level, String fqcn, String format, Object[] parameters, Throwable thrown)booleanisEnabled(org.jboss.logging.Logger.Level level)voidsetPaxLoggingManager(PaxLoggingManager manager)Configures aPaxLoggingManagerthat from now on can be used toobtain a non-fallback loggerthat given logger is delegating to.-
Methods inherited from class org.jboss.logging.Logger
debug, debug, debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, getLogger, getLogger, getLogger, getLogger, getMessageLogger, getMessageLogger, getMessageLogger, getMessageLogger, getName, info, info, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv, writeReplace
-
-
-
-
Method Detail
-
setPaxLoggingManager
public void setPaxLoggingManager(PaxLoggingManager manager)
Description copied from interface:PaxLoggingManagerAwareLoggerConfigures aPaxLoggingManagerthat from now on can be used toobtain a non-fallback loggerthat given logger is delegating to. This method is called in activator of pax-logging-api to ensure that loggers that may already been created from pax-logging adjusted facades/factories actually delegate to realPaxLoggingService. This is especially visible in pax-exam tests, where pax-logging-api's SLF4J classes are already used by pax-exam itself before even starting OSGi framework.- Specified by:
setPaxLoggingManagerin interfacePaxLoggingManagerAwareLogger
-
doLog
protected void doLog(org.jboss.logging.Logger.Level level, String fqcn, Object message, Object[] parameters, Throwable thrown)- Specified by:
doLogin classorg.jboss.logging.Logger
-
doLogf
protected void doLogf(org.jboss.logging.Logger.Level level, String fqcn, String format, Object[] parameters, Throwable thrown)- Specified by:
doLogfin classorg.jboss.logging.Logger
-
isEnabled
public boolean isEnabled(org.jboss.logging.Logger.Level level)
- Specified by:
isEnabledin interfaceorg.jboss.logging.BasicLogger
-
-