public abstract class NucleusLogger extends Object
Modifier and Type | Field and Description |
---|---|
static NucleusLogger |
CACHE
Log for Cache issues
|
static NucleusLogger |
CONNECTION
Log for Connection issues
|
static NucleusLogger |
DATASTORE
Log for Datastore issues
|
static NucleusLogger |
DATASTORE_NATIVE
Log for Datastore native operations
|
static NucleusLogger |
DATASTORE_PERSIST
Log for Datastore persistence issues
|
static NucleusLogger |
DATASTORE_RETRIEVE
Log for Datastore retrieval issues
|
static NucleusLogger |
DATASTORE_SCHEMA
Log for Datastore Schema issues
|
static NucleusLogger |
GENERAL
Log for General issues
|
static NucleusLogger |
LIFECYCLE
Log for Lifecycle issues
|
static NucleusLogger |
METADATA
Log for METADATA issues
|
static NucleusLogger |
PERSISTENCE
Log for Persistence issues
|
static NucleusLogger |
QUERY
Log for Query issues
|
static NucleusLogger |
TRANSACTION
Log for Transaction issues
|
static NucleusLogger |
VALUEGENERATION
Log for value generation issues
|
Constructor and Description |
---|
NucleusLogger() |
Modifier and Type | Method and Description |
---|---|
abstract void |
debug(Object msg)
Log a debug message.
|
abstract void |
debug(Object msg,
Throwable thr)
Log a debug message with throwable.
|
abstract void |
error(Object msg)
Log an error message.
|
abstract void |
error(Object msg,
Throwable thr)
Log an error message with throwable.
|
abstract void |
fatal(Object msg)
Log a fatal message.
|
abstract void |
fatal(Object msg,
Throwable thr)
Log a fatal message with throwable.
|
static NucleusLogger |
getLoggerInstance(String logCategory)
Method to create a logger instance.
|
abstract Object |
getNativeLogger()
Accessor for the native logger object.
|
abstract void |
info(Object msg)
Log an info message.
|
abstract void |
info(Object msg,
Throwable thr)
Log an info message with throwable.
|
abstract boolean |
isDebugEnabled()
Accessor for whether debug logging is enabled
|
abstract boolean |
isInfoEnabled()
Accessor for whether info logging is enabled
|
abstract void |
warn(Object msg)
Log a warning message.
|
abstract void |
warn(Object msg,
Throwable thr)
Log a warning message with throwable.
|
public static final NucleusLogger PERSISTENCE
public static final NucleusLogger TRANSACTION
public static final NucleusLogger CONNECTION
public static final NucleusLogger QUERY
public static final NucleusLogger METADATA
public static final NucleusLogger CACHE
public static final NucleusLogger DATASTORE
public static final NucleusLogger DATASTORE_PERSIST
public static final NucleusLogger DATASTORE_RETRIEVE
public static final NucleusLogger DATASTORE_SCHEMA
public static final NucleusLogger DATASTORE_NATIVE
public static final NucleusLogger LIFECYCLE
public static final NucleusLogger GENERAL
public static final NucleusLogger VALUEGENERATION
public static NucleusLogger getLoggerInstance(String logCategory)
logCategory
- The category (or null)public abstract void debug(Object msg)
msg
- The messagepublic abstract void debug(Object msg, Throwable thr)
msg
- The messagethr
- A throwablepublic abstract void info(Object msg)
msg
- The messagepublic abstract void info(Object msg, Throwable thr)
msg
- The messagethr
- A throwablepublic abstract void warn(Object msg)
msg
- The messagepublic abstract void warn(Object msg, Throwable thr)
msg
- The messagethr
- A throwablepublic abstract void error(Object msg)
msg
- The messagepublic abstract void error(Object msg, Throwable thr)
msg
- The messagethr
- A throwablepublic abstract void fatal(Object msg)
msg
- The messagepublic abstract void fatal(Object msg, Throwable thr)
msg
- The messagethr
- A throwablepublic abstract boolean isDebugEnabled()
public abstract boolean isInfoEnabled()
public abstract Object getNativeLogger()
Copyright © 2019. All rights reserved.