Logger module
This module allows messages to be logged to a file or an in-memory String. On platforms other than Windows, the Syslog module may also be of use.
Data types
- Logger::Logger - Logging method.
Functions
- Void endLog(Logger l) - Finish logging.
- Void log(var Logger l,String msg,Bool timestamp=true) - Add to a log.
- Void logAll(var [Logger] ls,String msg,Bool timestamp=true) - Add to multiple logs at once.
- Logger makeLogFile(String fname) - Create a log file
- Logger makeLogHandle(File handle) - Create a logging method from a file handle
- Logger makeLogString() - Create an in-memory string logging method