Documentation
This object provides the logging API. Consult the documentation for the logging implementation (or SimpleLogger) about how to acquire a Logger object.
Logger | |
|
simpleLogger :: String -> IO LoggerSource
Acquires a SimpleLogger Logger object. It takes a String, prefix
, and
creates a file prefix-YYYYMMDDHHMMSS.log
in the current directory. It
will use UTC time on system that supports it, and local time otherwise.