packages feed

monad-logger 0.3.0 → 0.3.0.1

raw patch · 2 files changed

+6/−7 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Control/Monad/Logger.hs view
@@ -7,12 +7,11 @@ -- |  This module provides the facilities needed for a decoupled logging system. -- -- The 'MonadLogger' class is implemented by monads that give access to a--- logging facility.  Note that although 'IO', 'Identity' and 'ST' are--- instances of 'MonadLogger', they will /discard all log messages/.  If you're--- defining a custom monad, then you may define an instance of 'MonadLogger'--- that routes the log messages to the appropriate place (e.g., that's what--- @yesod-core@'s @GHandler@ does).  Otherwise, you may use the 'LoggingT'--- monad included in this module (see 'runStderrLoggingT').+-- logging facility.  If you're defining a custom monad, then you may define an+-- instance of 'MonadLogger' that routes the log messages to the appropriate+-- place (e.g., that's what @yesod-core@'s @GHandler@ does).  Otherwise, you+-- may use the 'LoggingT' monad included in this module (see+-- 'runStderrLoggingT'). To simply discard log message, use 'NoLoggingT'. -- -- As a user of the logging facility, we provide you some convenient Template -- Haskell splices that use the 'MonadLogger' class.  They will record their
monad-logger.cabal view
@@ -1,5 +1,5 @@ name:                monad-logger-version:             0.3.0+version:             0.3.0.1 synopsis:            A class of monads which can log messages. description:         This package uses template-haskell for determining source code locations of messages. homepage:            https://github.com/kazu-yamamoto/logger