public class PrintStreamLog extends FormattedLog
SQLLog.BatchLogger
Constructor and Description |
---|
PrintStreamLog()
Log to standard out.
|
PrintStreamLog(PrintStream out)
Specify the print stream to log to
|
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 PrintStreamLog()
public PrintStreamLog(PrintStream out)
out
- The print stream to log toprotected final 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.