| java.lang.Object com.mckoi.util.Log
Log | public class Log (Code) | | A log file/stream that logs some information generated by the system.
This is intended to help with debugging. It safely handles concurrent
output to the log.
author: Tobias Downer |
Method Summary | |
public synchronized void | close() Closes the log file. | public synchronized void | log(String text) Writes an entry to the log file. | public synchronized void | logln(String text) | public static Log | nullLog() Returns a Log that won't actually store a log. |
close | public synchronized void close()(Code) | | Closes the log file.
|
log | public synchronized void log(String text)(Code) | | Writes an entry to the log file. The log file records the time the entry
was put into the log, and the string which is the log.
|
nullLog | public static Log nullLog()(Code) | | Returns a Log that won't actually store a log. This is useful for
options where the user doesn't want anything logged.
|
|
|