co-log-core-0.3.2.2: Composable Contravariant Comonadic Logging Library

co-log-core-0.3.2.2: Composable Contravariant Comonadic Logging Library

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:

See the following packages for different implementations based on co-log-core:

  • co-log: taggless final implementations.
  • co-log-polysemy: extensible effects implementation based on polysemy.

Modules

co-log-core-0.3.2.2