@hackage simple-logger0.1.1

A very simple but efficient logging framework

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!"