Package0.3.2.7LoggingContravariantComonad
co-log-core
Composable Contravariant Comonadic Logging Library
- Version0.3.2.7
- CategoryLogging, Contravariant, Comonad
- LicenceMPL-2.0
- AuthorDmitrii Kovanikov
- MaintainerCo-Log <xrom.
xkov@ gmail. com> - Homepagegithub.
com/ co-log/ co-log-core - Pinned byhackage co-log-core 0.
3. 2. 7 - Sourceco-log-core-0.
3. 2. 7 on Hackage
Modules
- Colog.CoreSPDX-License-Identifier : MPL-2.0
- Colog.Core.ActionSPDX-License-Identifier : MPL-2.0
- Colog.Core.ClassSPDX-License-Identifier : MPL-2.0
- Colog.Core.IOSPDX-License-Identifier : MPL-2.0
- Colog.Core.SeveritySPDX-License-Identifier : MPL-2.0
Description
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:
co-log: Composable Contravariant Combinatorial Comonadic Configurable Convenient Logging
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.
Depends on
1 package- base-4.22.0.0with GHC