|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvanetsim.gui.helpers.PrivacyLogWriter
public final class PrivacyLogWriter
Helper Class for error logging.
| Constructor Summary | |
|---|---|
PrivacyLogWriter()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getLogPath()
|
static void |
log(java.lang.String message)
Logs the attacker data. |
static void |
log(java.lang.String message,
int mode)
Logs the attacker data. |
static void |
setLogPath(java.lang.String logPath)
|
static void |
setParameters(java.lang.String dir,
java.lang.String format)
Sets the parameters for the static class. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivacyLogWriter()
| Method Detail |
|---|
public static void setParameters(java.lang.String dir,
java.lang.String format)
dir - the directory where the error log files are locatedformat - the format of the log files (txt or
xml)
public static void log(java.lang.String message,
int mode)
message - data to logpublic static void log(java.lang.String message)
message - data to logpublic static void setLogPath(java.lang.String logPath)
public static java.lang.String getLogPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||