Maintainer | Toshio Ito <debug.ito@gmail.com> |
---|---|
Safe Haskell | Safe |
Language | Haskell2010 |
- data LogLevel
- data LogEntry = LogEntry {
- logLevel :: LogLevel
- logMessage :: String
- data Logger
- defaultLogger :: Logger
- putLog :: Logger -> LogLevel -> String -> IO ()
- putLogEntry :: Logger -> LogEntry -> IO ()
- logDebug :: Logger -> String -> IO ()
- logInfo :: Logger -> String -> IO ()
- logWarn :: Logger -> String -> IO ()
- logError :: Logger -> String -> IO ()
- _mockLogger :: IO (Logger, IORef [LogEntry])