public class Log4jLogger extends Object implements org.slf4j.spi.LocationAwareLogger, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
FQCN |
Constructor and Description |
---|
Log4jLogger(org.apache.logging.log4j.spi.ExtendedLogger logger,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
debug(org.slf4j.Marker marker,
String s) |
void |
debug(org.slf4j.Marker marker,
String s,
Object... objects) |
void |
debug(org.slf4j.Marker marker,
String s,
Object o) |
void |
debug(org.slf4j.Marker marker,
String s,
Object o,
Object o1) |
void |
debug(org.slf4j.Marker marker,
String s,
Throwable throwable) |
void |
debug(String format) |
void |
debug(String format,
Object... args) |
void |
debug(String format,
Object o) |
void |
debug(String format,
Object arg1,
Object arg2) |
void |
debug(String format,
Throwable t) |
void |
error(org.slf4j.Marker marker,
String s) |
void |
error(org.slf4j.Marker marker,
String s,
Object... objects) |
void |
error(org.slf4j.Marker marker,
String s,
Object o) |
void |
error(org.slf4j.Marker marker,
String s,
Object o,
Object o1) |
void |
error(org.slf4j.Marker marker,
String s,
Throwable throwable) |
void |
error(String format) |
void |
error(String format,
Object... args) |
void |
error(String format,
Object o) |
void |
error(String format,
Object arg1,
Object arg2) |
void |
error(String format,
Throwable t) |
String |
getName() |
void |
info(org.slf4j.Marker marker,
String s) |
void |
info(org.slf4j.Marker marker,
String s,
Object... objects) |
void |
info(org.slf4j.Marker marker,
String s,
Object o) |
void |
info(org.slf4j.Marker marker,
String s,
Object o,
Object o1) |
void |
info(org.slf4j.Marker marker,
String s,
Throwable throwable) |
void |
info(String format) |
void |
info(String format,
Object... args) |
void |
info(String format,
Object o) |
void |
info(String format,
Object arg1,
Object arg2) |
void |
info(String format,
Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isDebugEnabled(org.slf4j.Marker marker) |
boolean |
isErrorEnabled() |
boolean |
isErrorEnabled(org.slf4j.Marker marker) |
boolean |
isInfoEnabled() |
boolean |
isInfoEnabled(org.slf4j.Marker marker) |
boolean |
isTraceEnabled() |
boolean |
isTraceEnabled(org.slf4j.Marker marker) |
boolean |
isWarnEnabled() |
boolean |
isWarnEnabled(org.slf4j.Marker marker) |
void |
log(org.slf4j.Marker marker,
String fqcn,
int level,
String message,
Object[] params,
Throwable throwable) |
void |
trace(org.slf4j.Marker marker,
String s) |
void |
trace(org.slf4j.Marker marker,
String s,
Object... objects) |
void |
trace(org.slf4j.Marker marker,
String s,
Object o) |
void |
trace(org.slf4j.Marker marker,
String s,
Object o,
Object o1) |
void |
trace(org.slf4j.Marker marker,
String s,
Throwable throwable) |
void |
trace(String format) |
void |
trace(String format,
Object... args) |
void |
trace(String format,
Object o) |
void |
trace(String format,
Object arg1,
Object arg2) |
void |
trace(String format,
Throwable t) |
void |
warn(org.slf4j.Marker marker,
String s) |
void |
warn(org.slf4j.Marker marker,
String s,
Object... objects) |
void |
warn(org.slf4j.Marker marker,
String s,
Object o) |
void |
warn(org.slf4j.Marker marker,
String s,
Object o,
Object o1) |
void |
warn(org.slf4j.Marker marker,
String s,
Throwable throwable) |
void |
warn(String format) |
void |
warn(String format,
Object... args) |
void |
warn(String format,
Object o) |
void |
warn(String format,
Object arg1,
Object arg2) |
void |
warn(String format,
Throwable t) |
public Log4jLogger(org.apache.logging.log4j.spi.ExtendedLogger logger, String name)
public void trace(String format, Object arg1, Object arg2)
trace
in interface org.slf4j.Logger
public void trace(String format, Object... args)
trace
in interface org.slf4j.Logger
public void trace(String format, Throwable t)
trace
in interface org.slf4j.Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface org.slf4j.Logger
public boolean isTraceEnabled(org.slf4j.Marker marker)
isTraceEnabled
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String s)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String s, Object o)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String s, Object o, Object o1)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String s, Object... objects)
trace
in interface org.slf4j.Logger
public void trace(org.slf4j.Marker marker, String s, Throwable throwable)
trace
in interface org.slf4j.Logger
public void debug(String format, Object arg1, Object arg2)
debug
in interface org.slf4j.Logger
public void debug(String format, Object... args)
debug
in interface org.slf4j.Logger
public void debug(String format, Throwable t)
debug
in interface org.slf4j.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface org.slf4j.Logger
public boolean isDebugEnabled(org.slf4j.Marker marker)
isDebugEnabled
in interface org.slf4j.Logger
public void debug(org.slf4j.Marker marker, String s)
debug
in interface org.slf4j.Logger
public void debug(org.slf4j.Marker marker, String s, Object o)
debug
in interface org.slf4j.Logger
public void debug(org.slf4j.Marker marker, String s, Object o, Object o1)
debug
in interface org.slf4j.Logger
public void debug(org.slf4j.Marker marker, String s, Object... objects)
debug
in interface org.slf4j.Logger
public void debug(org.slf4j.Marker marker, String s, Throwable throwable)
debug
in interface org.slf4j.Logger
public void info(String format, Object arg1, Object arg2)
info
in interface org.slf4j.Logger
public void info(String format, Object... args)
info
in interface org.slf4j.Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface org.slf4j.Logger
public boolean isInfoEnabled(org.slf4j.Marker marker)
isInfoEnabled
in interface org.slf4j.Logger
public void info(org.slf4j.Marker marker, String s)
info
in interface org.slf4j.Logger
public void info(org.slf4j.Marker marker, String s, Object o)
info
in interface org.slf4j.Logger
public void info(org.slf4j.Marker marker, String s, Object o, Object o1)
info
in interface org.slf4j.Logger
public void info(org.slf4j.Marker marker, String s, Object... objects)
info
in interface org.slf4j.Logger
public void info(org.slf4j.Marker marker, String s, Throwable throwable)
info
in interface org.slf4j.Logger
public void warn(String format, Object arg1, Object arg2)
warn
in interface org.slf4j.Logger
public void warn(String format, Object... args)
warn
in interface org.slf4j.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface org.slf4j.Logger
public boolean isWarnEnabled(org.slf4j.Marker marker)
isWarnEnabled
in interface org.slf4j.Logger
public void warn(org.slf4j.Marker marker, String s)
warn
in interface org.slf4j.Logger
public void warn(org.slf4j.Marker marker, String s, Object o)
warn
in interface org.slf4j.Logger
public void warn(org.slf4j.Marker marker, String s, Object o, Object o1)
warn
in interface org.slf4j.Logger
public void warn(org.slf4j.Marker marker, String s, Object... objects)
warn
in interface org.slf4j.Logger
public void warn(org.slf4j.Marker marker, String s, Throwable throwable)
warn
in interface org.slf4j.Logger
public void error(String format, Object arg1, Object arg2)
error
in interface org.slf4j.Logger
public void error(String format, Object... args)
error
in interface org.slf4j.Logger
public void error(String format, Throwable t)
error
in interface org.slf4j.Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface org.slf4j.Logger
public boolean isErrorEnabled(org.slf4j.Marker marker)
isErrorEnabled
in interface org.slf4j.Logger
public void error(org.slf4j.Marker marker, String s)
error
in interface org.slf4j.Logger
public void error(org.slf4j.Marker marker, String s, Object o)
error
in interface org.slf4j.Logger
public void error(org.slf4j.Marker marker, String s, Object o, Object o1)
error
in interface org.slf4j.Logger
public void error(org.slf4j.Marker marker, String s, Object... objects)
error
in interface org.slf4j.Logger
public void error(org.slf4j.Marker marker, String s, Throwable throwable)
error
in interface org.slf4j.Logger
public void log(org.slf4j.Marker marker, String fqcn, int level, String message, Object[] params, Throwable throwable)
log
in interface org.slf4j.spi.LocationAwareLogger
Copyright © 1999-2021 The 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.