Create a stream log handler. Log messages sent to this handler will be sent to the stream used initially. Note that the close method will have no effect on stream handlers; it does not actually close the underlying stream.
Modulehslogger-1.3.2.0Haskell2010
System.Log.Handler.Simple
Simple log handlers
Written by John Goerzen, jgoerzen@complete.org
- 1 type
- 3 values
- Packagehslogger-1.3.2.0
- Exports4
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceSimple.hs
Create a file log handler. Log messages sent to this handler will be sent to the filename specified, which will be opened in Append mode. Calling close on the handler will close the file.
A helper data type.
Constructors
Instances1LogHandler
LogHandler (GenericHandler a)Defined in hslogger-1.3.2.0 · System.Log.Handler.Simple
Like streamHandler, but note the priority and logger name along with each message.