public class Log extends Object
Modifier | Constructor and Description |
---|---|
protected |
Log() |
|
Log(File file) |
|
Log(File file,
int size,
int max_count) |
|
Log(String path) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the log file.
|
void |
log(String text)
Writes an entry to the log file.
|
void |
logln(String text) |
static Log |
nullLog()
Returns a Log that won't actually store a log.
|
public Log(String path) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public Log(File file, int size, int max_count) throws IOException
IOException
public Log(File file) throws FileNotFoundException, IOException
FileNotFoundException
IOException
protected Log()
public void log(String text)
public void logln(String text)
public void close()
public static Log nullLog()
Copyright © 2015. All rights reserved.