Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data LogLineFormat #
Instances
data LogOptions #
Instances
Eq LogOptions # | |
Defined in Napkin.Logging (==) :: LogOptions -> LogOptions -> Bool # (/=) :: LogOptions -> LogOptions -> Bool # | |
Show LogOptions # | |
Defined in Napkin.Logging 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 #