public abstract class SimplifiedLoggerSkeleton extends LoggerSkeleton implements SimplifiedLog
SimplifiedLog
methods.
Note: we need the explicit overrides even though they are defined in SimplifiedLog
as default
since they are defined as abstract
in the slf4j Logger
interfaceModifier and Type | Field and Description |
---|---|
static SimplifiedLoggerSkeleton |
EMPTY |
protected String |
name |
Modifier | Constructor and Description |
---|---|
protected |
SimplifiedLoggerSkeleton(String name) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg,
Throwable err) |
void |
error(String msg,
Throwable err) |
void |
info(String msg,
Throwable err) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected Object |
readResolve() |
void |
trace(String msg,
Throwable err) |
void |
warn(String msg,
Throwable err) |
debug, debug, debug, debug, error, error, error, error, info, info, info, info, trace, trace, trace, trace, warn, warn, warn, warn
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
debug, error, info, isDebugEnabled, isEnabledLevel, isErrorEnabled, isInfoEnabled, isLoggable, isTraceEnabled, isWarnEnabled, log, log, trace, warn
public static final SimplifiedLoggerSkeleton EMPTY
protected String name
protected SimplifiedLoggerSkeleton(String name)
public boolean isErrorEnabled()
isErrorEnabled
in interface SimplifiedLog
isErrorEnabled
in interface org.slf4j.Logger
public void error(String msg, Throwable err)
error
in interface SimplifiedLog
error
in interface org.slf4j.Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface SimplifiedLog
isWarnEnabled
in interface org.slf4j.Logger
public void warn(String msg, Throwable err)
warn
in interface SimplifiedLog
warn
in interface org.slf4j.Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface SimplifiedLog
isInfoEnabled
in interface org.slf4j.Logger
public void info(String msg, Throwable err)
info
in interface SimplifiedLog
info
in interface org.slf4j.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface SimplifiedLog
isDebugEnabled
in interface org.slf4j.Logger
public void debug(String msg, Throwable err)
debug
in interface SimplifiedLog
debug
in interface org.slf4j.Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface SimplifiedLog
isTraceEnabled
in interface org.slf4j.Logger
public void trace(String msg, Throwable err)
trace
in interface SimplifiedLog
trace
in interface org.slf4j.Logger
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.