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
- Host: GitHub
- URL: https://github.com/agrafix/simple-logger
- Owner: agrafix
- License: bsd-3-clause
- Created: 2016-07-28T15:07:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-03T00:42:52.000Z (about 2 years ago)
- Last Synced: 2025-03-08T20:48:58.026Z (over 1 year ago)
- Language: Haskell
- Size: 11.7 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!"
```