All log handlers should adhere to this.
This is the base class for the various log handlers. They should all adhere to this class.
Methods
setLevel :: a -> Priority -> aSets the log level. handle will drop items beneath this level.
getLevel :: a -> PriorityGets the current level.
setFormatter :: a -> LogFormatter a -> aSet a log formatter to customize the log format for this Handler
getFormatter :: a -> LogFormatter ahandle :: a -> LogRecord -> String -> IO ()Logs an event if it meets the requirements given by the most recent call to setLevel.
emit :: a -> LogRecord -> String -> IO ()Forces an event to be logged regardless of the configured level.
close :: a -> IO ()Closes the logging system, causing it to close any open files, etc.
Instances3LogHandler
LogHandler GrowlHandlerDefined in hslogger-1.3.2.0 · System.Log.Handler.GrowlLogHandler SyslogHandlerDefined in hslogger-1.3.2.0 · System.Log.Handler.SyslogLogHandler (GenericHandler a)Defined in hslogger-1.3.2.0 · System.Log.Handler.Simple