co-log-core

Composable Contravariant Comonadic Logging Library https://github.com/kowainik/co-log

Version on this page:0.1.1
LTS Haskell 13.7:0.1.1
Stackage Nightly 2019-02-15:0.1.1
Latest on Hackage:0.1.1

See all snapshots co-log-core appears in

MPL-2.0 licensed by Kowainik
Maintained by xrom.xkov@gmail.com

Module documentation for 0.1.1

This package provides core types and functions to work with the LogAction data type which is both simple and powerful.

newtype LogAction m msg = LogAction
    { unLogAction :: msg -> m ()
    }

The ideas behind this package are described in the following blog post:

Changes

Change log

co-log-core uses PVP Versioning. The change log is available on GitHub.

0.1.1 — Nov 15, 2018

  • #63: Add logPrint, logPrintStderr, logPrintHandle and withLogPrintFile to Colog.Core.IO.
  • #46: Moves logStringStdout, logStringStderr, logStringHandle, withLogStringFile from Colog.Actions to Colog.Core.IO.
  • #48: Adds liftLogIO function.
  • #49: Add <& and &>operators for unLogAction.
  • #47: Add doctest tests.
  • #13: Add .cabal file description and improve documentation.
  • #39: Support GHC-8.2.2 and GHC-8.6.2.

0.1.0

  • #38: Rename cbind to cmapM.

  • #37: Add base bounds.

0.0.0

  • Initially created.
Depends on 1 package:
Used by 3 packages:
comments powered byDisqus