yesod-core-0.9.3.3: Creation of type-safe, RESTful web applications.
Yesod.Logger
Description
Produce pretty, thread-safe logs
Synopsis
data Logger Source
makeLogger :: IO LoggerSource
flushLogger :: Logger -> IO ()Source
Flush the logger (blocks until flushed)
timedSource
Arguments
Logger
Message
Action
Timed and logged action
Execute a monadic action and log the duration
logText :: Logger -> Text -> IO ()Source
logLazyText :: Logger -> Text -> IO ()Source
Send a raw message to the logger Native format is lazy text
logString :: Logger -> String -> IO ()Source