| Modifier and Type | Class and Description |
|---|---|
protected class |
BasicLogWriter.RecordThread |
static class |
BasicLogWriter.UtilLog |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
protected static boolean |
LOG_ENABLED |
| Constructor and Description |
|---|
BasicLogWriter(String file)
Default value for append parameter is true
BasicLogWriter(String, boolean) |
BasicLogWriter(String file,
boolean append) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
static String |
getFormattedString(String table,
Hashtable columnValues,
String operation,
String user,
long date,
Hashtable conditions) |
static String |
getFormattedString(String table,
Vector columns,
String operation,
String user,
long date,
Hashtable conditions) |
static boolean |
isLogEnabled() |
void |
newLine() |
protected void |
openFile() |
static void |
setLogEnabled(boolean enabled) |
void |
write(String s)
Automatically insert the new line character
|
public BasicLogWriter(String file) throws Exception
BasicLogWriter(String, boolean)file - Exceptionpublic void write(String s)
public void flush()
public static final String getFormattedString(String table, Vector columns, String operation, String user, long date, Hashtable conditions)
public static final String getFormattedString(String table, Hashtable columnValues, String operation, String user, long date, Hashtable conditions)
public static boolean isLogEnabled()
public static void setLogEnabled(boolean enabled)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.