rob-0.0.4: Simple projects generator

Safe HaskellSafe
LanguageHaskell2010

Rob.Logger

Synopsis

Documentation

log' :: Color -> ColorIntensity -> String -> IO () Source #

Print a message highlighting it

formatTime' :: UTCTime -> String Source #

Format the time, showing it into the log message

print' :: String -> IO () Source #

Print a message in the console

success :: String -> IO () Source #

Log success messages

err :: String -> IO () Source #

Log error messages

info :: String -> IO () Source #

Log info messages

warning :: String -> IO () Source #

Log warning messages

raw :: String -> IO () Source #

Log a raw message without using colors

flatten :: Monad m => (a -> m b) -> [a] -> m () Source #

Execute log on a list of messages