monad-logger

A class of monads which can log messages. https://github.com/kazu-yamamoto/logger

Version on this page:0.3.20.1
LTS Haskell 9.5:0.3.25.1
Stackage Nightly 2017-09-20:0.3.25.1
Latest on Hackage:0.3.25.1
MIT licensed by Michael Snoyman
Maintained by michael@snoyman.com

Module documentation for 0.3.20.1

monad-logger

A monad transformer approach for logging.

This package provides Template Haskell functions for determining source code locations of messages.

Changes

0.3.25.1

  • Fix some incorrect @since comments

0.3.25

  • Export all CallStack log functions #143

0.3.24

  • Added MonadReader instance for NoLoggingT.

0.3.23

  • Changed runFileLoggingT buffering to line buffering.
  • Added defaultLog and logWithoutLoc to list of exported functions.

0.3.22

  • Added runFileLoggingT.

0.3.21

  • Reimplemented Functor & Applicative for LoggingT & NoLoggingT #125 #126

0.3.20.2

  • Support for GHC 8.2

0.3.20.1

  • Fix #106 by correcting the default signature for MonadLoggerIO #108

0.3.20

  • Generalize the type of unChanLoggingT #104

0.3.19

  • Add CallStack-based functions and Control.Monad.Logger.CallStack module

0.3.18

  • Added logTHShow and logDebugSH, logInfoSH, etc. Accepts an argument of Show a => a instead of just Text.

0.3.17

  • log to a chan #74

0.3.16

  • Provide default monadLoggerLog implementation #72

0.3.15

  • Expose Loc constructor #70

0.3.14

  • Don't include source location for defaultLoc #69

0.3.13.1

  • Allow fast-logger 2.3

0.3.13

  • Re-export LogStr from fast-logger #56
  • Added filterLogger

0.3.12

  • Use transformers-compat to provide universal ExceptT support #53

0.3.11.1

Add support for monad-control 1.0 #52

0.3.11

Add missing MonadState and MonadWriter instances for NoLoggingT #51

0.3.10.1

Remove unnecessary extra newline in log messages.

0.3.10

Introduce the MonadLoggerIO typeclass.

0.3.9

Add missing MonadError NoLoggingT instance #49

0.3.8

Simplify constraint on MonadLogger (NoLoggingT m) from MonadIO m to Monad m Github issue #48.

Used by 111 packages:
apiary-logger, apiary-persistent, async-refresh, async-refresh-tokens, atndapi, batchd, canteven-http, canteven-log, cloud-seeder, coin, craft, CurryDB, dockercook, esqueleto, ethereum-analyzer-cli, ethereum-analyzer-deps, ethereum-analyzer-webui, eventful-test-helpers, eventstore, fb, fbmessenger-api, feature-flipper-postgres, flowdock-api, fpco-api, genesis, genesis-test, git-annex, git-fmt, gitlib-s3, groundhog-mysql, habit, hackage-mirror, hairy, haskoin-node, haskoin-wallet, hbro, HGraphStorage, hinterface, ide-backend-common, informative, jobqueue, json-rpc, karps, kawaii, keenser, krapsh, krpc, lambdatwit, legion, legion-discovery, legion-discovery-client, located-monad-logger, magicbane, mangopay, markup, marquise, marvin, masakazu-bot, mediabus, mediabus-fdk-aac, mediabus-rtp, mirror-tweet, monad-http, monad-logger-json, monad-logger-prefix, monad-logger-syslog, monad-persist, nakadi-client, omnifmt, pdf-slave-server, persistent, persistent-mysql, persistent-mysql-haskell, persistent-odbc, persistent-postgresql, persistent-sqlite, persistent-template, pinboard, pipes-kafka, postgresql-query, preamble, psc-ide, purescript, pushme, refurb, replicant, respond, rosmsg-bin, scion-browser, servant-db-postgresql, servant-subscriber, services, snaplet-persistent, stack, swagger-petstore, twhs, unliftio, urlpath, vigilance, wai-middleware-consul, wai-middleware-content-type, wai-middleware-verbs, wrecker-ui, yesod, yesod-core, yesod-job-queue, yesod-mangopay, yesod-platform, yesod-tls, yesod-vend, zendesk-api
comments powered byDisqus