com.liferay.util.sl4fj
Class LiferayLoggerAdapter
java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
com.liferay.util.sl4fj.LiferayLoggerAdapter
- All Implemented Interfaces:
- Serializable, org.slf4j.Logger, org.slf4j.spi.LocationAwareLogger
public class LiferayLoggerAdapter
- extends org.slf4j.helpers.MarkerIgnoringBase
- implements org.slf4j.spi.LocationAwareLogger, Serializable
- See Also:
- Serialized Form
Fields inherited from interface org.slf4j.spi.LocationAwareLogger |
DEBUG_INT, ERROR_INT, INFO_INT, TRACE_INT, WARN_INT |
Fields inherited from interface org.slf4j.Logger |
ROOT_LOGGER_NAME |
Method Summary |
void |
debug(String message)
|
void |
debug(String format,
Object... arguments)
|
void |
debug(String format,
Object argument)
|
void |
debug(String format,
Object argument1,
Object argument2)
|
void |
debug(String message,
Throwable t)
|
void |
error(String message)
|
void |
error(String format,
Object... arguments)
|
void |
error(String format,
Object argument)
|
void |
error(String format,
Object argument1,
Object argument2)
|
void |
error(String message,
Throwable t)
|
void |
info(String message)
|
void |
info(String format,
Object... arguments)
|
void |
info(String format,
Object argument)
|
void |
info(String format,
Object argument1,
Object argument2)
|
void |
info(String message,
Throwable t)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
log(org.slf4j.Marker marker,
String fqcn,
int level,
String message,
Object[] arguments,
Throwable t)
|
protected Object |
readResolve()
|
void |
trace(String message)
|
void |
trace(String format,
Object... arguments)
|
void |
trace(String format,
Object argument)
|
void |
trace(String format,
Object argument1,
Object argument2)
|
void |
trace(String message,
Throwable t)
|
void |
warn(String message)
|
void |
warn(String format,
Object... arguments)
|
void |
warn(String format,
Object argument)
|
void |
warn(String format,
Object argument1,
Object argument2)
|
void |
warn(String message,
Throwable t)
|
Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase |
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn |
Methods inherited from interface org.slf4j.Logger |
debug, debug, debug, debug, debug, error, error, error, error, error, getName, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn |
name
protected String name
LiferayLoggerAdapter
public LiferayLoggerAdapter(Log log)
debug
public void debug(String message)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public void debug(String format,
Object argument)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public void debug(String format,
Object... arguments)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public void debug(String format,
Object argument1,
Object argument2)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public void debug(String message,
Throwable t)
- Specified by:
debug
in interface org.slf4j.Logger
error
public void error(String message)
- Specified by:
error
in interface org.slf4j.Logger
error
public void error(String format,
Object argument)
- Specified by:
error
in interface org.slf4j.Logger
error
public void error(String format,
Object... arguments)
- Specified by:
error
in interface org.slf4j.Logger
error
public void error(String format,
Object argument1,
Object argument2)
- Specified by:
error
in interface org.slf4j.Logger
error
public void error(String message,
Throwable t)
- Specified by:
error
in interface org.slf4j.Logger
info
public void info(String message)
- Specified by:
info
in interface org.slf4j.Logger
info
public void info(String format,
Object argument)
- Specified by:
info
in interface org.slf4j.Logger
info
public void info(String format,
Object... arguments)
- Specified by:
info
in interface org.slf4j.Logger
info
public void info(String format,
Object argument1,
Object argument2)
- Specified by:
info
in interface org.slf4j.Logger
info
public void info(String message,
Throwable t)
- Specified by:
info
in interface org.slf4j.Logger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface org.slf4j.Logger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface org.slf4j.Logger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface org.slf4j.Logger
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface org.slf4j.Logger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface org.slf4j.Logger
log
public void log(org.slf4j.Marker marker,
String fqcn,
int level,
String message,
Object[] arguments,
Throwable t)
- Specified by:
log
in interface org.slf4j.spi.LocationAwareLogger
trace
public void trace(String message)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public void trace(String format,
Object argument)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public void trace(String format,
Object... arguments)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public void trace(String format,
Object argument1,
Object argument2)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public void trace(String message,
Throwable t)
- Specified by:
trace
in interface org.slf4j.Logger
warn
public void warn(String message)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public void warn(String format,
Object argument)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public void warn(String format,
Object... arguments)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public void warn(String format,
Object argument1,
Object argument2)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public void warn(String message,
Throwable t)
- Specified by:
warn
in interface org.slf4j.Logger
readResolve
protected Object readResolve()
throws ObjectStreamException
- Throws:
ObjectStreamException