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

Yesod.Logger

Description

Produce pretty, thread-safe logs

Synopsis

Documentation

flushLogger :: Logger -> IO ()Source

Flush the logger (blocks until 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

logLazyText :: Logger -> Text -> IO ()Source

Send a raw message to the logger Native format is lazy text