hakyll-4.16.0.0: A static website compiler library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hakyll.Core.Logger

Description

Produce pretty, thread-safe logs

Synopsis

Documentation

data Verbosity Source #

Constructors

Error 
Message 
Debug 

Instances

Instances details
Show Verbosity Source # 
Instance details

Defined in Hakyll.Core.Logger

Eq Verbosity Source # 
Instance details

Defined in Hakyll.Core.Logger

Ord Verbosity Source # 
Instance details

Defined in Hakyll.Core.Logger

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 #