Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data LogLevel
- data LogMessage a
Documentation
Generic log levels
Instances
FromJSON LogLevel Source # | |
ToJSON LogLevel Source # | |
Defined in Plow.Logging.Message | |
Generic LogLevel Source # | |
Show LogLevel Source # | |
Eq LogLevel Source # | |
Ord LogLevel Source # | |
Defined in Plow.Logging.Message | |
HasEnumerableConstructors LogLevel Source # | |
Defined in Plow.Logging.Message listConstructors :: LogLevel -> [String] allConstructors :: Proxy LogLevel -> [String] | |
type Rep LogLevel Source # | |
Defined in Plow.Logging.Message type Rep LogLevel = D1 ('MetaData "LogLevel" "Plow.Logging.Message" "plow-log-0.1.6.0-8Hic3QabCEe9Szbi4iY3n4" 'False) ((C1 ('MetaCons "LevelDebug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LevelInfo" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LevelWarn" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LevelError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LevelOther" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) |
data LogMessage a Source #
A log message that allows for a log level to be specified or for the log to be ignored.