| java.lang.Object org.hsqldb.lib.SimpleLog
SimpleLog | public class SimpleLog (Code) | | Simple log for recording abnormal events in persistence
Log levels, LOG_NONE, LOG_ERROR, and LOG_NORMAL are currently supported.
LOG_ERROR corresponds to property value 1 and logs main database events plus
any major errors encountered in operation.
LOG_NORMAL corresponds to property value 2 and logs additional normal events
and minor errors.
author: fredt@users version: 1.8.0 since: 1.8.0 |
Constructor Summary | |
public | SimpleLog(String path, int level, boolean useFile) |
LOG_ERROR | public static int LOG_ERROR(Code) | | |
LOG_NONE | public static int LOG_NONE(Code) | | |
LOG_NORMAL | public static int LOG_NORMAL(Code) | | |
SimpleLog | public SimpleLog(String path, int level, boolean useFile)(Code) | | |
close | public void close()(Code) | | |
flush | public void flush()(Code) | | |
getLevel | public int getLevel()(Code) | | |
logContext | public synchronized void logContext(int atLevel, String message)(Code) | | |
sendLine | public synchronized void sendLine(int atLevel, String message)(Code) | | |
|
|