Package0.3.2.2LoggingContravariantComonad
co-log-core
Composable Contravariant Comonadic Logging Library
- Version0.3.2.2
- CategoryLogging, Contravariant, Comonad
- LicenceMPL-2.0
- AuthorDmitrii Kovanikov
- MaintainerKowainik <xrom.xkov@gmail.com>
- Homepagegithub.com/co-log/co-log-core
- Pinned byhackage co-log-core 0.3.2.2
- Sourcehackage.haskell.org/package/co-log-core-0.3.2.2
Modules
5 modules- Colog.Core0SPDX-License-Identifier : MPL-2.0
- Colog.Core.Action30SPDX-License-Identifier : MPL-2.0
- Colog.Core.Class2SPDX-License-Identifier : MPL-2.0
- Colog.Core.IO10SPDX-License-Identifier : MPL-2.0
- Colog.Core.Severity8SPDX-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.20.2.0with GHC