purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellSafe
LanguageHaskell2010

Purebred.System.Logging

Synopsis

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.