/simple-logger

Haskell: A very simple but efficient logging framework

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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