|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JackLogger
Extension of Logger that enables the use of varargs for logging methods.
Example usage:
JackLogger logger = JackLoggerFactory.getLogger(LoggerFactory.getLogger(Weather.class));
logger.info("Hello {}! The current time is {}:{}:{}, and after {} hours the weather will be {}.", "Jack", 13, 30, 0, 5, "sunny");
| Field Summary |
|---|
| Fields inherited from interface org.slf4j.Logger |
|---|
ROOT_LOGGER_NAME |
| Method Summary | |
|---|---|
void |
debug(String format,
Object arg1,
Object arg2,
Object... otherArgs)
Log a message at the DEBUG level according to the specified format and arguments. |
void |
error(String format,
Object arg1,
Object arg2,
Object... otherArgs)
Log a message at the ERROR level according to the specified format and arguments. |
void |
info(String format,
Object arg1,
Object arg2,
Object... otherArgs)
Log a message at the INFO level according to the specified format and arguments. |
void |
trace(String format,
Object arg1,
Object arg2,
Object... otherArgs)
Log a message at the TRACE level according to the specified format and arguments. |
void |
warn(String format,
Object arg1,
Object arg2,
Object... otherArgs)
Log a message at the WARN level according to the specified format and arguments. |
| Methods inherited from interface org.slf4j.Logger |
|---|
debug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, getName, info, info, info, info, info, info, info, info, info, info, isDebugEnabled, isDebugEnabled, isErrorEnabled, isErrorEnabled, isInfoEnabled, isInfoEnabled, isTraceEnabled, isTraceEnabled, isWarnEnabled, isWarnEnabled, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warn |
| Method Detail |
|---|
void trace(String format,
Object arg1,
Object arg2,
Object... otherArgs)
format - the way to set out the argumentsarg1 - the first of the argument seriesarg2 - the seconds of the argument seriesotherArgs - the rest of the argument series
void debug(String format,
Object arg1,
Object arg2,
Object... otherArgs)
format - the way to set out the argumentsarg1 - the first of the argument seriesarg2 - the seconds of the argument seriesotherArgs - the rest of the argument series
void info(String format,
Object arg1,
Object arg2,
Object... otherArgs)
format - the way to set out the argumentsarg1 - the first of the argument seriesarg2 - the seconds of the argument seriesotherArgs - the rest of the argument series
void warn(String format,
Object arg1,
Object arg2,
Object... otherArgs)
format - the way to set out the argumentsarg1 - the first of the argument seriesarg2 - the seconds of the argument seriesotherArgs - the rest of the argument series
void error(String format,
Object arg1,
Object arg2,
Object... otherArgs)
format - the way to set out the argumentsarg1 - the first of the argument seriesarg2 - the seconds of the argument seriesotherArgs - the rest of the argument series
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||