public class LogLogger
extends org.slf4j.helpers.MarkerIgnoringBase
Modifier and Type | Field and Description |
---|---|
static int |
LOG_LEVEL_DEBUG |
static int |
LOG_LEVEL_ERROR |
static int |
LOG_LEVEL_INFO |
static int |
LOG_LEVEL_TRACE |
static int |
LOG_LEVEL_WARN |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg)
A simple implementation which logs messages of level DEBUG according to
the format outlined above.
|
void |
debug(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
DEBUG according to the format outlined above.
|
void |
debug(String format,
Object param1)
Perform single parameter substitution before logging the message of level
DEBUG according to the format outlined above.
|
void |
debug(String format,
Object param1,
Object param2)
Perform double parameter substitution before logging the message of level
DEBUG according to the format outlined above.
|
void |
debug(String msg,
Throwable t)
Log a message of level DEBUG, including an exception.
|
void |
error(String msg)
A simple implementation which always logs messages of level ERROR
according to the format outlined above.
|
void |
error(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
ERROR according to the format outlined above.
|
void |
error(String format,
Object arg)
Perform single parameter substitution before logging the message of level
ERROR according to the format outlined above.
|
void |
error(String format,
Object arg1,
Object arg2)
Perform double parameter substitution before logging the message of level
ERROR according to the format outlined above.
|
void |
error(String msg,
Throwable t)
Log a message of level ERROR, including an exception.
|
void |
info(String msg)
A simple implementation which logs messages of level INFO according to
the format outlined above.
|
void |
info(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
INFO according to the format outlined above.
|
void |
info(String format,
Object arg)
Perform single parameter substitution before logging the message of level
INFO according to the format outlined above.
|
void |
info(String format,
Object arg1,
Object arg2)
Perform double parameter substitution before logging the message of level
INFO according to the format outlined above.
|
void |
info(String msg,
Throwable t)
Log a message of level INFO, including an exception.
|
boolean |
isDebugEnabled()
Are
debug messages currently enabled? |
boolean |
isErrorEnabled()
Are
error messages currently enabled? |
boolean |
isInfoEnabled()
Are
info messages currently enabled? |
protected boolean |
isLevelEnabled(int logLevel)
Is the given log level currently enabled?
|
boolean |
isTraceEnabled()
Are
trace messages currently enabled? |
boolean |
isWarnEnabled()
Are
warn messages currently enabled? |
protected Object |
readResolve() |
void |
trace(String msg)
A simple implementation which logs messages of level TRACE according to
the format outlined above.
|
void |
trace(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
TRACE according to the format outlined above.
|
void |
trace(String format,
Object param1)
Perform single parameter substitution before logging the message of level
TRACE according to the format outlined above.
|
void |
trace(String format,
Object param1,
Object param2)
Perform double parameter substitution before logging the message of level
TRACE according to the format outlined above.
|
void |
trace(String msg,
Throwable t)
Log a message of level TRACE, including an exception.
|
void |
warn(String msg)
A simple implementation which always logs messages of level WARN
according to the format outlined above.
|
void |
warn(String format,
Object... argArray)
Perform double parameter substitution before logging the message of level
WARN according to the format outlined above.
|
void |
warn(String format,
Object arg)
Perform single parameter substitution before logging the message of level
WARN according to the format outlined above.
|
void |
warn(String format,
Object arg1,
Object arg2)
Perform double parameter substitution before logging the message of level
WARN according to the format outlined above.
|
void |
warn(String msg,
Throwable t)
Log a message of level WARN, including an exception.
|
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
public static final int LOG_LEVEL_TRACE
public static final int LOG_LEVEL_DEBUG
public static final int LOG_LEVEL_INFO
public static final int LOG_LEVEL_WARN
public static final int LOG_LEVEL_ERROR
protected boolean isLevelEnabled(int logLevel)
logLevel
- is this level enabled?public boolean isTraceEnabled()
trace
messages currently enabled?public void trace(String msg)
public void trace(String format, Object param1)
public void trace(String format, Object param1, Object param2)
public void trace(String format, Object... argArray)
public void trace(String msg, Throwable t)
public boolean isDebugEnabled()
debug
messages currently enabled?public void debug(String msg)
public void debug(String format, Object param1)
public void debug(String format, Object param1, Object param2)
public void debug(String format, Object... argArray)
public void debug(String msg, Throwable t)
public boolean isInfoEnabled()
info
messages currently enabled?public void info(String msg)
public void info(String format, Object arg)
public void info(String format, Object arg1, Object arg2)
public void info(String format, Object... argArray)
public boolean isWarnEnabled()
warn
messages currently enabled?public void warn(String msg)
public void warn(String format, Object arg)
public void warn(String format, Object arg1, Object arg2)
public void warn(String format, Object... argArray)
public boolean isErrorEnabled()
error
messages currently enabled?public void error(String msg)
public void error(String format, Object arg)
public void error(String format, Object arg1, Object arg2)
public void error(String format, Object... argArray)
public void error(String msg, Throwable t)
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2006–2016. All rights reserved.