Outdated reference to GHandler
Closed this issue · 1 comments
MaxGabriel commented
The Control.Monad.Logger docs say:
The MonadLogger class is implemented by monads that give access to a 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.
IIRC, yesod hasn't had a GHandler
type for awhile, so I think this reference is outdated
snoyberg commented
Good catch, thanks!
…On Fri, Dec 8, 2017 at 9:02 PM, Maximilian Tagher ***@***.***> wrote:
The Control.Monad.Logger docs
<https://www.stackage.org/haddock/lts-9.17/monad-logger-0.3.25.1/Control-Monad-Logger.html#v:runLoggingT>
say:
The MonadLogger class is implemented by monads that give access to a
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.
IIRC, yesod hasn't had a GHandler type for awhile, so I think this
reference is outdated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#149>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBB9NWykMyCLowo9R1yrElVd1G5mW6ks5s-YfLgaJpZM4Q7gsM>
.