public class NullLogger extends NucleusLogger
CACHE, CONNECTION, DATASTORE, DATASTORE_NATIVE, DATASTORE_PERSIST, DATASTORE_RETRIEVE, DATASTORE_SCHEMA, GENERAL, LIFECYCLE, METADATA, PERSISTENCE, QUERY, TRANSACTION, VALUEGENERATION
Constructor and Description |
---|
NullLogger(String logName) |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object msg)
Log a debug message.
|
void |
debug(Object msg,
Throwable thr)
Log a debug message with throwable.
|
void |
error(Object msg)
Log an error message.
|
void |
error(Object msg,
Throwable thr)
Log an error message with throwable.
|
void |
fatal(Object msg)
Log a fatal message.
|
void |
fatal(Object msg,
Throwable thr)
Log a fatal message with throwable.
|
Object |
getNativeLogger()
Accessor for the native logger object.
|
void |
info(Object msg)
Log an info message.
|
void |
info(Object msg,
Throwable thr)
Log an info message with throwable.
|
boolean |
isDebugEnabled()
Accessor for whether debug logging is enabled
|
boolean |
isInfoEnabled()
Accessor for whether info logging is enabled
|
void |
warn(Object msg)
Log a warning message.
|
void |
warn(Object msg,
Throwable thr)
Log a warning message with throwable.
|
getLoggerInstance
public NullLogger(String logName)
public Object getNativeLogger()
NucleusLogger
getNativeLogger
in class NucleusLogger
public void debug(Object msg)
NucleusLogger
debug
in class NucleusLogger
msg
- The messagepublic void debug(Object msg, Throwable thr)
NucleusLogger
debug
in class NucleusLogger
msg
- The messagethr
- A throwablepublic void error(Object msg)
NucleusLogger
error
in class NucleusLogger
msg
- The messagepublic void error(Object msg, Throwable thr)
NucleusLogger
error
in class NucleusLogger
msg
- The messagethr
- A throwablepublic void fatal(Object msg)
NucleusLogger
fatal
in class NucleusLogger
msg
- The messagepublic void fatal(Object msg, Throwable thr)
NucleusLogger
fatal
in class NucleusLogger
msg
- The messagethr
- A throwablepublic void info(Object msg)
NucleusLogger
info
in class NucleusLogger
msg
- The messagepublic void info(Object msg, Throwable thr)
NucleusLogger
info
in class NucleusLogger
msg
- The messagethr
- A throwablepublic boolean isDebugEnabled()
NucleusLogger
isDebugEnabled
in class NucleusLogger
public boolean isInfoEnabled()
NucleusLogger
isInfoEnabled
in class NucleusLogger
public void warn(Object msg)
NucleusLogger
warn
in class NucleusLogger
msg
- The messagepublic void warn(Object msg, Throwable thr)
NucleusLogger
warn
in class NucleusLogger
msg
- The messagethr
- A throwableCopyright © 2019. All rights reserved.