Popularity
7.7
Growing
Activity
0.0
Stable
7
16
0
Monthly Downloads: 33
Programming language: HTML
License: LicenseRef-Apache
Latest version: v0.1.12
monad-logger-prefix alternatives and similar packages
Based on the "monad" category.
Alternatively, view monad-logger-prefix alternatives based on common mentions on social networks and blogs.
-
monad-validate
(NOTE: REPOSITORY MOVED TO NEW OWNER: https://github.com/lexi-lambda/monad-validate) A Haskell monad transformer library for data validation -
monad-control
Lift control operations, like exception catching, through monad transformers -
monad-time
Type class for monads which carry the notion of the current time. -
monad-unlift
Typeclasses for representing monad (transformer) morphisms -
monad-unlift-ref
Typeclasses for representing monad (transformer) morphisms -
monad-batcher
An applicative monad that batches commands for later more efficient execution -
monad-supply
Support for computations which consume values from a (possibly infinite) supply. -
monad-io-adapter
A Haskell package that adapts between MonadIO and MonadBase IO -
monad-journal
Pure logger typeclass and monad transformer -
monad-extras
Extra utility functions for working with monads -
monad-levels
Level-based interpretation of monad transformers -
monad-task
Task monad transformer that turns event processing into co-routines programming. -
monad-loops-stm
STM-specific control operators (split out of monad-loops as of version 0.4) -
monad-resumption
Resumption and Reactive-Resumption Monads for the Haskell programming language. -
monad-open
Open-ended computation for when you need it (open recursion) -
monad-introspect
A reader monad that gives the environment access to the entire transformer stack -
monad-interleave
Monads with an unsaveInterleaveIO-like operation -
monad-control-aligned
Lift control operations, like exception catching, through monad transformers -
monad-control-identity
Stronger classes than monad-control -
monad-peel
Lift control operations like exception catching through monad transformers -
monad-finally
Guard monadic computations with cleanup actions
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of monad-logger-prefix or a related project?
README
monad-logger-prefix
This package provides an easy way to add prefixes to any
MonadLogger
. Here's a brief example:
{-# LANGUAGE TemplateHaskell #-}
import Control.Monad.Logger
import Control.Monad.Logger.Prefix
main :: IO ()
main = runStdoutLoggingT $ do
$(logDebug) "This one has no prefix."
"foo" `prefixLogs` do
$(logDebug) "This one has a [foo] prefix."
"bar" `prefixLogs` do
$(logDebug) "This one has both [foo] and [bar] prefixes."
The package includes a benchmark demonstrating that there is no performance difference with ordinary logging.