An open API service indexing awesome lists of open source software.

https://github.com/agrafix/simple-logger

Haskell: A very simple but efficient logging framework
https://github.com/agrafix/simple-logger

Last synced: about 1 year ago
JSON representation

Haskell: A very simple but efficient logging framework

Awesome Lists containing this project

README

          

# Control.Logger.Simple

A small and fast opinionated logging framework. Needs GHC >=7.10

## Example

```haskell
{-# LANGUAGE OverloadedStrings #-}
module Main where

import Control.Logger.Simple

main :: IO ()
main =
withGlobalLogging (LogConfig (Just "logfile.txt") True) $
do logInfo "Hi!"
```