Safe Haskell | None |
---|---|
Language | Haskell2010 |
Napkin.Logging
Documentation
data LogLineFormat #
Instances
data LogOptions #
Constructors
LogOptions | |
Instances
Eq LogOptions # | |
Defined in Napkin.Logging | |
Show LogOptions # | |
Defined in Napkin.Logging Methods showsPrec :: Int -> LogOptions -> ShowS # show :: LogOptions -> String # showList :: [LogOptions] -> ShowS # |
initLogger :: LogOptions -> IO LogEnv #
mkLogFormatter :: LogLineFormat -> forall a. LogItem a => ItemFormatter a #
simpleFormat :: LogItem a => ItemFormatter a #
termLogEnv :: (forall a. LogItem a => ItemFormatter a) -> PermitFunc -> Verbosity -> IO LogEnv #
mkFileScribeWithFormatter :: (forall a. LogItem a => ItemFormatter a) -> FilePath -> PermitFunc -> Verbosity -> IO Scribe #