@hackage simple-logger0.1.1
A very simple but efficient logging framework
Categories
License
MIT
Maintainer
Alexander Thiemann <mail@athiemann.net>
Links
Versions
Installation
Dependencies (5)
- base >=4.9 && <5
- fast-logger
- monad-logger
- mtl
- text Show all…
Dependents (3)
@hackage/rfc, @hackage/acme-everything, @hackage/simplexmq
Control.Logger.Simple
A small and fast opinionated logging framework. Needs GHC >=7.10
Example
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Control.Logger.Simple
main :: IO ()
main =
withGlobalLogging (LogConfig (Just "logfile.txt") True) $
do logInfo "Hi!"