hakyll-4.11.0.0: A static website compiler library
Hakyll.Core.Logger
Description
Produce pretty, thread-safe logs
Synopsis
data Verbosity Source #
Constructors
Instances
Methods
(==) :: Verbosity -> Verbosity -> Bool #
(/=) :: Verbosity -> Verbosity -> Bool #
compare :: Verbosity -> Verbosity -> Ordering #
(<) :: Verbosity -> Verbosity -> Bool #
(<=) :: Verbosity -> Verbosity -> Bool #
(>) :: Verbosity -> Verbosity -> Bool #
(>=) :: Verbosity -> Verbosity -> Bool #
max :: Verbosity -> Verbosity -> Verbosity #
min :: Verbosity -> Verbosity -> Verbosity #
showsPrec :: Int -> Verbosity -> ShowS #
show :: Verbosity -> String #
showList :: [Verbosity] -> ShowS #
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 #