Safe Haskell | None |
---|---|
Language | GHC2021 |
Unclog.Common
Synopsis
- data LogEntry = MkLogEntry {}
- data LogLevel
- data Position = MkPosition {}
- data Location = MkLocation {}
- newtype PLogChan = MkPLogChan {}
- newtype SLogChan = MkSLogChan {}
Documentation
the datatype to communicate between a log source and a logging backend
Constructors
MkLogEntry | |
Instances
a loglevel
Instances
Generic LogLevel Source # | |||||
Defined in Unclog.Common Associated Types
| |||||
Show LogLevel Source # | |||||
Eq LogLevel Source # | |||||
Ord LogLevel Source # | |||||
Defined in Unclog.Common | |||||
Lift LogLevel Source # | |||||
type Rep LogLevel Source # | |||||
Defined in Unclog.Common type Rep LogLevel = D1 ('MetaData "LogLevel" "Unclog.Common" "unclogging-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Warn" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fatal" 'PrefixI 'False) (U1 :: Type -> Type))) |
a source code position
Constructors
MkPosition | |
Instances
Generic Position Source # | |||||
Defined in Unclog.Common Associated Types
| |||||
Show Position Source # | |||||
Eq Position Source # | |||||
Ord Position Source # | |||||
Defined in Unclog.Common | |||||
Lift Position Source # | |||||
type Rep Position Source # | |||||
Defined in Unclog.Common type Rep Position = D1 ('MetaData "Position" "Unclog.Common" "unclogging-0.1.0.0-inplace" 'False) (C1 ('MetaCons "MkPosition" 'PrefixI 'True) (S1 ('MetaSel ('Just "posLeft") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "posRight") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Int))) |
the code location at which the log entry was generated
Constructors
MkLocation | |
Instances
Generic Location Source # | |||||
Defined in Unclog.Common Associated Types
| |||||
Show Location Source # | |||||
Eq Location Source # | |||||
Ord Location Source # | |||||
Defined in Unclog.Common | |||||
Lift Location Source # | |||||
type Rep Location Source # | |||||
Defined in Unclog.Common type Rep Location = D1 ('MetaData "Location" "Unclog.Common" "unclogging-0.1.0.0-inplace" 'False) (C1 ('MetaCons "MkLocation" 'PrefixI 'True) (S1 ('MetaSel ('Just "locpkg") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "locmod") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "locpos") 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Position)))) |
a publish channel with multiple writers
Constructors
MkPLogChan | |
Fields |