public class HLogger
extends org.slf4j.helpers.MarkerIgnoringBase
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
additive
Additivity is set to true by default, that is children inherit the
appenders of their ancestors by default.
|
| Modifier and Type | Method and Description |
|---|---|
void |
callAppenders(ch.qos.logback.classic.spi.ILoggingEvent event)
Invoke all the appenders of this logger.
|
void |
debug(Object parameterizedMsg,
Object param1) |
void |
debug(String msg) |
void |
debug(String format,
Object arg) |
void |
debug(String format,
Object[] argArray) |
void |
debug(String parameterizedMsg,
Object param1,
Object param2) |
void |
debug(String msg,
Throwable t) |
void |
error(String msg) |
void |
error(String parameterizedMsg,
Object param1) |
void |
error(String format,
Object[] argArray) |
void |
error(String parameterizedMsg,
Object param1,
Object param2) |
void |
error(String msg,
Throwable t) |
String |
getName() |
void |
info(String msg) |
void |
info(String parameterizedMsg,
Object param1) |
void |
info(String format,
Object[] argArray) |
void |
info(String parameterizedMsg,
Object param1,
Object param2) |
void |
info(String msg,
Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected Object |
readResolve() |
void |
removeAllAppenders()
Remove all previously added appenders from this logger instance.
|
void |
removeAppender(Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender)
Remove the appender passed as parameter form the list of appenders.
|
void |
setLevel(ch.qos.logback.classic.Level newLevel) |
void |
trace(Object parameterizedMsg,
Object param1) |
void |
trace(String msg) |
void |
trace(String format,
Object arg) |
void |
trace(String format,
Object[] argArray) |
void |
trace(String parameterizedMsg,
Object param1,
Object param2) |
void |
trace(String msg,
Throwable t) |
void |
warn(String msg) |
void |
warn(String parameterizedMsg,
Object param1) |
void |
warn(String format,
Object[] argArray) |
void |
warn(String parameterizedMsg,
Object param1,
Object param2) |
void |
warn(String msg,
Throwable t) |
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, warnprotected boolean additive
false then the appenders located in the ancestors of this
logger will not be used. However, the children of this logger will inherit
its appenders, unless the children have their additivity flag set to
false too. See the user manual for more details.public String getName()
getName in interface org.slf4j.LoggergetName in class org.slf4j.helpers.MarkerIgnoringBasepublic void setLevel(ch.qos.logback.classic.Level newLevel)
public void removeAllAppenders()
public void callAppenders(ch.qos.logback.classic.spi.ILoggingEvent event)
event - The event to logpublic void removeAppender(Appender<ch.qos.logback.classic.spi.ILoggingEvent> appender)
public final void trace(String msg)
public final void debug(String msg)
public void error(String msg)
public void info(String msg)
public boolean isTraceEnabled()
public boolean isDebugEnabled()
public boolean isErrorEnabled()
public boolean isInfoEnabled()
public boolean isWarnEnabled()
public void warn(String msg)
protected Object readResolve() throws ObjectStreamException
ObjectStreamExceptionCopyright © 2005–2021 QOS.ch. All rights reserved.