The simple-logger package

[Tags:library, mit]

A very simple but efficient logging framework


[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2, 0.0.3
Dependencies base (>=4.8 && <5), fast-logger, mtl, text [details]
License MIT
Author
Maintainer Alexander Thiemann <mail@athiemann.net>
Category Logging
Home page https://github.com/agrafix/simple-logger#readme
Bug tracker https://github.com/agrafix/simple-logger/issues
Source repository head: git clone https://github.com/agrafix/simple-logger
Uploaded Mon Nov 21 02:44:02 UTC 2016 by AlexanderThiemann
Distributions NixOS:0.0.3
Downloads 100 total (13 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-11-21 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for simple-logger

Readme for simple-logger-0.0.3

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