public class Logger
extends java.lang.Object
Constructor and Description |
---|
Logger(java.lang.String dirPath) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.io.File |
getDirectory() |
void |
log(LogData data) |
static java.text.SimpleDateFormat |
makeFileNameFormat() |
static java.text.SimpleDateFormat |
makeLogFormat() |
java.lang.String |
toString() |
public static java.text.SimpleDateFormat makeLogFormat()
public static java.text.SimpleDateFormat makeFileNameFormat()
public java.io.File getDirectory()
public void log(LogData data)
public void close()
public java.lang.String toString()
toString
in class java.lang.Object