Popularity
7.7
Stable
Activity
0.0
Stable
7
17
0
Monthly Downloads: 39
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
DISCONTINUED. (NOTE: REPOSITORY MOVED TO NEW OWNER: https://github.com/lexi-lambda/monad-validate) A Haskell monad transformer library for data validation
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
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.