Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Purebred.System.Logging
Synopsis
- setupLogsink :: Maybe FilePath -> IO (Text -> IO ())
Documentation
setupLogsink :: Maybe FilePath -> IO (Text -> IO ()) Source #
Creates the default log sink. The log function if we have a filepath will log the given text with a timestamp prepended.