|
andyLib v0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.andynaz.log.Logger
it.andynaz.log.NullLogger
public class NullLogger
This logger does nothing. Used to suppress all logs in a program that uses the andyLog project.
Field Summary |
---|
Fields inherited from class it.andynaz.log.Logger |
---|
dateFormat, level, name, separator, useDate, useLevel |
Constructor Summary | |
---|---|
NullLogger(ConfigMgr config)
Creates an instance. |
|
NullLogger(String name,
ConfigMgr config)
Creates an instance with a name. |
Method Summary | |
---|---|
void |
log(Exception e)
Does nothing. |
void |
log(Exception e,
Level level)
Does nothing. |
void |
log(String log)
Does nothing. |
void |
log(String log,
Level level)
Does nothing. |
Methods inherited from class it.andynaz.log.Logger |
---|
getDate, getPrefix, getPrefix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullLogger(ConfigMgr config)
config
- configuration (will not be used)public NullLogger(String name, ConfigMgr config)
name
- logger's name (will not be used)config
- configuration (will not be used)Method Detail |
---|
public void log(String log, Level level)
log
in class Logger
log
- log (will not be used)level
- level of the log (will not be used)public void log(String log)
log
in class Logger
log
- log (will not be used)public void log(Exception e)
log
in class Logger
e
- exception to log (will not be used)public void log(Exception e, Level level)
log
in class Logger
e
- exception to log (will not be used)level
- level of the log (will not be used)
|
andyLib v0.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |