Safe Haskell | None |
---|---|
Language | Haskell2010 |
Capture LogMessage
s to a Writer
.
Synopsis
- captureLogWriter :: LogWriter CaptureLogWriter
- type CaptureLogs a = LogWriterM CaptureLogWriter a
- type CaptureLogWriter = Writer LogMessage
- runCaptureLogWriter :: Eff (CaptureLogWriter ': e) a -> Eff e (a, [LogMessage])
Documentation
type CaptureLogs a = LogWriterM CaptureLogWriter a Source #
type CaptureLogWriter = Writer LogMessage Source #
Alias for the Writer
that contains the captured LogMessage
s from CaptureLogs
.
runCaptureLogWriter :: Eff (CaptureLogWriter ': e) a -> Eff e (a, [LogMessage]) Source #
Run a Writer
for LogMessage
s.
Such a Writer
is needed to handle CaptureLogWriter