simple-logger: A very simple but efficient logging framework

[ library, logging, mit ] [ Propose Tags ]

A very simple but efficient logging framework


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.1.0, 0.1.1
Dependencies base (>=4.9 && <5), fast-logger, monad-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 repo head: git clone https://github.com/agrafix/simple-logger
Uploaded by AlexanderThiemann at 2020-12-13T02:22:51Z
Distributions NixOS:0.1.1
Reverse Dependencies 3 direct, 1 indirect [details]
Downloads 4446 total (53 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-12-13 [all 1 reports]

Readme for simple-logger-0.1.1

[back to package description]

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