public class DummyLogger
extends org.slf4j.helpers.MarkerIgnoringBase
Logger
interface that does nothing. Unlike
NOPLogger
its methods are NOT final so it can be extended for testing purposes.Modifier and Type | Field and Description |
---|---|
protected String |
name |
private static long |
serialVersionUID |
Constructor and Description |
---|
DummyLogger()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
debug(String s) |
void |
debug(String s,
Object... aobj) |
void |
debug(String s,
Object obj) |
void |
debug(String s,
Object obj,
Object obj1) |
void |
debug(String s,
Throwable throwable) |
void |
error(String s) |
void |
error(String s,
Object... aobj) |
void |
error(String s,
Object obj) |
void |
error(String s,
Object obj,
Object obj1) |
void |
error(String s,
Throwable throwable) |
void |
info(String s) |
void |
info(String s,
Object... aobj) |
void |
info(String s,
Object obj) |
void |
info(String s,
Object obj,
Object obj1) |
void |
info(String s,
Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected Object |
readResolve() |
void |
trace(String s) |
void |
trace(String s,
Object... aobj) |
void |
trace(String s,
Object obj) |
void |
trace(String s,
Object obj,
Object obj1) |
void |
trace(String s,
Throwable throwable) |
void |
warn(String s) |
void |
warn(String s,
Object... aobj) |
void |
warn(String s,
Object obj) |
void |
warn(String s,
Object obj,
Object obj1) |
void |
warn(String s,
Throwable throwable) |
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
private static final long serialVersionUID
protected String name
public void debug(String s)
public void error(String s)
public void info(String s)
public boolean isDebugEnabled()
public boolean isErrorEnabled()
public boolean isInfoEnabled()
public boolean isTraceEnabled()
public boolean isWarnEnabled()
public void trace(String s)
public void warn(String s)
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
Copyright © 2001–2016 mmm-Team. All rights reserved.