Control.Monad.Log

Introduction

Getting Started

Working with logging-effect

Emitting log messages

Outputting with LoggingT

Adapting and composing logging

MonadLog

class MonadLog message m

mapLogMessage

Message transformers

renderPretty

Timestamps

data WithTimestamp a

timestamp

renderWithTimestamp

Severity

data WithSeverity a

data Severity

renderWithSeverity

Call stacks

data WithCallStack a

withCallStack

renderWithCallStack

LoggingT, a general handler

data LoggingT message m a

runLoggingT

mapLoggingT

LoggingT Handlers

type Handler m message

withFDHandler

Batched handlers

withBatchedHandler

data BatchingOptions

defaultBatchingOptions

Pure logging

data PureLoggingT log m a

runPureLoggingT

Discarding logs

data DiscardLoggingT message m a

Aside: A mtl refresher