|
eXo Kernel :: Commons Utils 2.4.10-UXP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.log.impl.LocationAwareSLF4JExoLog
public class LocationAwareSLF4JExoLog
An implementation of ExoLogger that delegates to an instance of LocationAwareLogger.
| Constructor Summary | |
|---|---|
LocationAwareSLF4JExoLog(org.slf4j.spi.LocationAwareLogger logger)
Create a new instance. |
|
| Method Summary | |
|---|---|
void |
debug(Object o)
Log a message with debug log level. |
void |
debug(Object o,
Throwable throwable)
Log an error with debug log level. |
void |
debug(String format,
Object... argsArray)
Log an error with debug log level. |
void |
error(Object o)
Log a message with error log level. |
void |
error(Object o,
Throwable throwable)
Log an error with error log level. |
void |
error(String format,
Object... argsArray)
Log a message with error log level. |
void |
fatal(Object o)
Log a message with fatal log level. |
void |
fatal(Object o,
Throwable throwable)
Log an error with fatal log level. |
void |
fatal(String format,
Object... argsArray)
Log a message with fatal log level. |
void |
info(Object o)
Log a message with info log level. |
void |
info(Object o,
Throwable throwable)
Log an error with info log level. |
void |
info(String format,
Object... argsArray)
Log an error with info log level. |
boolean |
isDebugEnabled()
Is debug logging currently enabled? |
boolean |
isErrorEnabled()
Is error logging currently enabled? |
boolean |
isFatalEnabled()
Is fatal logging currently enabled? |
boolean |
isInfoEnabled()
Is info logging currently enabled? |
boolean |
isTraceEnabled()
Is trace logging currently enabled? |
boolean |
isWarnEnabled()
Is warn logging currently enabled? |
void |
trace(Object o)
Log a message with trace log level. |
void |
trace(Object o,
Throwable throwable)
Log an error with trace log level. |
void |
trace(String format,
Object... argsArray)
Log an error with trace log level. |
void |
warn(Object o)
Log a message with warn log level. |
void |
warn(Object o,
Throwable throwable)
Log an error with warn log level. |
void |
warn(String format,
Object... argsArray)
Log a message with warn log level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocationAwareSLF4JExoLog(org.slf4j.spi.LocationAwareLogger logger)
logger - the logger
IllegalArgumentException - if the logger is null| Method Detail |
|---|
public boolean isDebugEnabled()
Is debug logging currently enabled?
Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than
debug.
isDebugEnabled in interface Logpublic boolean isErrorEnabled()
Is error logging currently enabled?
Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than
error.
isErrorEnabled in interface Logpublic boolean isFatalEnabled()
Is fatal logging currently enabled?
Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than
fatal.
isFatalEnabled in interface Logpublic boolean isInfoEnabled()
Is info logging currently enabled?
Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than
info.
isInfoEnabled in interface Logpublic boolean isTraceEnabled()
Is trace logging currently enabled?
Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than
trace.
isTraceEnabled in interface Logpublic boolean isWarnEnabled()
Is warn logging currently enabled?
Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than
warn.
isWarnEnabled in interface Logpublic void trace(Object o)
Log a message with trace log level.
trace in interface Logo - log this message
public void trace(Object o,
Throwable throwable)
Log an error with trace log level.
trace in interface Logo - log this messagethrowable - log this causepublic void debug(Object o)
Log a message with debug log level.
debug in interface Logo - log this message
public void debug(Object o,
Throwable throwable)
Log an error with debug log level.
debug in interface Logo - log this messagethrowable - log this causepublic void info(Object o)
Log a message with info log level.
info in interface Logo - log this message
public void info(Object o,
Throwable throwable)
Log an error with info log level.
info in interface Logo - log this messagethrowable - log this causepublic void warn(Object o)
Log a message with warn log level.
warn in interface Logo - log this message
public void warn(Object o,
Throwable throwable)
Log an error with warn log level.
warn in interface Logo - log this messagethrowable - log this causepublic void error(Object o)
Log a message with error log level.
error in interface Logo - log this message
public void error(Object o,
Throwable throwable)
Log an error with error log level.
error in interface Logo - log this messagethrowable - log this causepublic void fatal(Object o)
Log a message with fatal log level.
fatal in interface Logo - log this message
public void fatal(Object o,
Throwable throwable)
Log an error with fatal log level.
fatal in interface Logo - log this messagethrowable - log this cause
public void trace(String format,
Object... argsArray)
Log an error with trace log level.
trace in interface Logformat - String format to represent log message.
Sequence of '{}' is used to represent an anchor which will be replaced by
string representation of objects in argArrayargsArray - Throwable, String
or any other Object for which string representation will be used
public void debug(String format,
Object... argsArray)
Log an error with debug log level.
debug in interface Logformat - String format to represent log message.
Sequence of '{}' is used to represent an anchor which will be replaced by
string representation of objects in argArrayargsArray - Throwable, String
or any other Object for which string representation will be used
public void info(String format,
Object... argsArray)
Log an error with info log level.
info in interface Logformat - String format to represent log message.
Sequence of '{}' is used to represent an anchor which will be replaced by
string representation of objects in argArrayargsArray - Throwable, String
or any other Object for which string representation will be used
public void warn(String format,
Object... argsArray)
Log a message with warn log level.
warn in interface Logformat - String format to represent log message.
Sequence of '{}' is used to represent an anchor which will be replaced by
string representation of objects in argArrayargsArray - Throwable, String
or any other Object for which string representation will be used
public void error(String format,
Object... argsArray)
Log a message with error log level.
error in interface Logformat - String format to represent log message.
Sequence of '{}' is used to represent an anchor which will be replaced by
string representation of objects in argArrayargsArray - Throwable, String
or any other Object for which string representation will be used
public void fatal(String format,
Object... argsArray)
Log a message with fatal log level.
fatal in interface Logformat - String format to represent log message.
Sequence of '{}' is used to represent an anchor which will be replaced by
string representation of objects in argArrayargsArray - Throwable, String
or any other Object for which string representation will be used
|
eXo Kernel :: Commons Utils 2.4.10-UXP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||