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.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String[] | |
| private String | |
| private boolean | |
| private boolean | |
| private int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final String | |
| pack-priv String[] | |
| private StringBuilder | |
| pack-priv static final String[] | |
| pack-priv HsqlDateTime. | |
| private PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public int | |
| public PrintWriter | |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | |
| public void | |
| private void | |
| private void |
| appLogTypeNames | back to summary |
|---|---|
| pack-priv static final String[] appLogTypeNames | |
| filePath | back to summary |
|---|---|
| private String filePath | |
| isSQL | back to summary |
|---|---|
| private boolean isSQL | |
| isSystem | back to summary |
|---|---|
| private boolean isSystem | |
| level | back to summary |
|---|---|
| private int level | |
| LOG_DETAIL | back to summary |
|---|---|
| public static final int LOG_DETAIL | |
| LOG_ERROR | back to summary |
|---|---|
| public static final int LOG_ERROR | |
| LOG_NONE | back to summary |
|---|---|
| public static final int LOG_NONE | |
| LOG_NORMAL | back to summary |
|---|---|
| public static final int LOG_NORMAL | |
| LOG_SQL_BASIC | back to summary |
|---|---|
| public static final int LOG_SQL_BASIC | |
| LOG_SQL_DETAIL | back to summary |
|---|---|
| public static final int LOG_SQL_DETAIL | |
| LOG_SQL_NORMAL | back to summary |
|---|---|
| public static final int LOG_SQL_NORMAL | |
| LOG_SQL_RESULT | back to summary |
|---|---|
| public static final int LOG_SQL_RESULT | |
| LOG_WARNING | back to summary |
|---|---|
| public static final int LOG_WARNING | |
| logTypeName | back to summary |
|---|---|
| public static final String logTypeName | |
| logTypeNames | back to summary |
|---|---|
| pack-priv String[] logTypeNames | |
| sb | back to summary |
|---|---|
| private StringBuilder sb | |
| sqlLogTypeNames | back to summary |
|---|---|
| pack-priv static final String[] sqlLogTypeNames | |
| sysTime | back to summary |
|---|---|
| pack-priv HsqlDateTime. | |
| writer | back to summary |
|---|---|
| private PrintWriter writer | |
| SimpleLog | back to summary |
|---|---|
| public SimpleLog(String path, int level, boolean isSQL) | |
| close | back to summary |
|---|---|
| public void close() | |
| flush | back to summary |
|---|---|
| public void flush() | |
| getLevel | back to summary |
|---|---|
| public int getLevel() | |
| getPrintWriter | back to summary |
|---|---|
| public PrintWriter getPrintWriter() | |
| logContext | back to summary |
|---|---|
| public synchronized void logContext(int atLevel, String message) | |
| logContext | back to summary |
|---|---|
| public synchronized void logContext(int atLevel, String prefix, String message, String suffix) | |
| logContext | back to summary |
|---|---|
| public synchronized void logContext(Throwable t, String message, int atLevel) | |
| setLevel | back to summary |
|---|---|
| public void setLevel(int level) | |
| setupLog | back to summary |
|---|---|
| private void setupLog(File file) | |
| setupWriter | back to summary |
|---|---|
| private void setupWriter() | |