Hakyll.Core.Logger
Description
Produce pretty, thread-safe logs
data Verbosity Source #
Constructors
Defined in Hakyll.Core.Logger
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 #