hakyll-4.13.0.1: A static website compiler library

Safe HaskellSafe
LanguageHaskell2010

Hakyll.Core.Logger

Description

Produce pretty, thread-safe logs

Synopsis

Documentation

data Logger Source #

Logger structure. Very complicated.

new :: Verbosity -> IO Logger Source #

Create a new logger

flush :: Logger -> IO () Source #

Flush the logger (blocks until flushed)

error :: MonadIO m => Logger -> String -> m () Source #

header :: MonadIO m => Logger -> String -> m () Source #

message :: MonadIO m => Logger -> String -> m () Source #

debug :: MonadIO m => Logger -> String -> m () Source #