yesod-core-0.10.1: Creation of type-safe, RESTful web applications.

Safe HaskellSafe-Infered

Yesod.Logger

Contents

Synopsis

Documentation

makeLoggerWithHandle, productionLogger, developmentLogger :: Handle -> IO LoggerSource

a development logger gets automatically flushed

timedSource

Arguments

:: MonadIO m 
=> Logger

Logger

-> Text

Message

-> m a

Action

-> m a

Timed and logged action

Execute a monadic action and log the duration

Deprecated