public class SLF4JLogger extends org.apache.logging.log4j.spi.AbstractLogger
Constructor and Description |
---|
SLF4JLogger(String name,
org.slf4j.Logger logger) |
SLF4JLogger(String name,
org.apache.logging.log4j.message.MessageFactory messageFactory,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
org.apache.logging.log4j.Level |
getLevel() |
org.slf4j.Logger |
getLogger() |
boolean |
isEnabled(org.apache.logging.log4j.Level level,
org.apache.logging.log4j.Marker marker,
org.apache.logging.log4j.message.Message data,
Throwable t) |
boolean |
isEnabled(org.apache.logging.log4j.Level level,
org.apache.logging.log4j.Marker marker,
Object data,
Throwable t) |
boolean |
isEnabled(org.apache.logging.log4j.Level level,
org.apache.logging.log4j.Marker marker,
String data) |
boolean |
isEnabled(org.apache.logging.log4j.Level level,
org.apache.logging.log4j.Marker marker,
String data,
Object... p1) |
boolean |
isEnabled(org.apache.logging.log4j.Level level,
org.apache.logging.log4j.Marker marker,
String data,
Throwable t) |
void |
logMessage(String fqcn,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.Marker marker,
org.apache.logging.log4j.message.Message message,
Throwable t) |
catching, catching, catching, catchingMsg, checkMessageFactory, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, entry, entry, entry, entryMsg, error, error, error, error, error, error, error, error, error, error, error, error, error, error, exit, exit, exit, exitMsg, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, fatal, getMessageFactory, getName, info, info, info, info, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isEnabled, isEnabled, isErrorEnabled, isErrorEnabled, isFatalEnabled, isFatalEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, log, log, log, log, log, log, log, log, log, log, log, log, log, log, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logIfEnabled, logMessage, logMessage, logMessage, logMessage, printf, printf, throwing, throwing, throwing, throwingMsg, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn
public SLF4JLogger(String name, org.apache.logging.log4j.message.MessageFactory messageFactory, org.slf4j.Logger logger)
public SLF4JLogger(String name, org.slf4j.Logger logger)
public org.apache.logging.log4j.Level getLevel()
public org.slf4j.Logger getLogger()
public boolean isEnabled(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, org.apache.logging.log4j.message.Message data, Throwable t)
public boolean isEnabled(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, Object data, Throwable t)
public boolean isEnabled(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, String data)
public boolean isEnabled(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, String data, Object... p1)
public boolean isEnabled(org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, String data, Throwable t)
public void logMessage(String fqcn, org.apache.logging.log4j.Level level, org.apache.logging.log4j.Marker marker, org.apache.logging.log4j.message.Message message, Throwable t)
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.