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(ILoggingEvent event)
Invoke all the appenders of this logger.
|
void |
debug(Object parameterizedMsg,
Object param1) |
void |
debug(String msg) |
void |
debug(String format,
Object... argArray) |
void |
debug(String format,
Object arg) |
void |
debug(String parameterizedMsg,
Object param1,
Object param2) |
void |
debug(String msg,
Throwable t) |
void |
error(String msg) |
void |
error(String format,
Object... argArray) |
void |
error(String parameterizedMsg,
Object param1) |
void |
error(String parameterizedMsg,
Object param1,
Object param2) |
void |
error(String msg,
Throwable t) |
String |
getName() |
void |
info(String msg) |
void |
info(String format,
Object... argArray) |
void |
info(String parameterizedMsg,
Object param1) |
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<ILoggingEvent> appender)
Remove the appender passed as parameter form the list of appenders.
|
void |
setLevel(Level newLevel) |
void |
trace(Object parameterizedMsg,
Object param1) |
void |
trace(String msg) |
void |
trace(String format,
Object... argArray) |
void |
trace(String format,
Object arg) |
void |
trace(String parameterizedMsg,
Object param1,
Object param2) |
void |
trace(String msg,
Throwable t) |
void |
warn(String msg) |
void |
warn(String format,
Object... argArray) |
void |
warn(String parameterizedMsg,
Object param1) |
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, warn
protected 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.Logger
getName
in class org.slf4j.helpers.MarkerIgnoringBase
public void removeAllAppenders()
public void callAppenders(ILoggingEvent event)
event
- The event to logpublic void removeAppender(Appender<ILoggingEvent> appender)
public boolean isTraceEnabled()
public boolean isDebugEnabled()
public boolean isErrorEnabled()
public boolean isInfoEnabled()
public boolean isWarnEnabled()
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2005–2018 QOS.ch. All rights reserved.