public class SLF4JLog extends FormattedLog
Modifier and Type | Class and Description |
---|---|
static class |
SLF4JLog.Level |
SQLLog.BatchLogger
Constructor and Description |
---|
SLF4JLog() |
SLF4JLog(org.slf4j.Logger logger) |
SLF4JLog(org.slf4j.Logger logger,
SLF4JLog.Level level) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isEnabled()
Used to ask implementations if logging is enabled.
|
protected void |
log(String msg)
Log the statement passed in
|
logBatch, logBeginTransaction, logCheckpointTransaction, logCommitTransaction, logObtainHandle, logPreparedBatch, logReleaseCheckpointTransaction, logReleaseHandle, logRollbackToCheckpoint, logRollbackTransaction, logSQL
public SLF4JLog()
public SLF4JLog(org.slf4j.Logger logger)
public SLF4JLog(org.slf4j.Logger logger, SLF4JLog.Level level)
protected boolean isEnabled()
FormattedLog
isEnabled
in class FormattedLog
protected void log(String msg)
FormattedLog
log
in class FormattedLog
msg
- the message to logCopyright © 2018. All rights reserved.