| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Unclog.Common
Synopsis
- data LogEntry = MkLogEntry {}
- data LogLevel
- data Location = MkLocation {}
- data Position = MkPosition {}
- newtype PLogChan = MkPLogChan {}
- newtype SLogChan = MkSLogChan {}
commonly used types
the datatype to communicate between a log source and a logging backend
Constructors
| MkLogEntry | |
Instances
types that are lifted by template haskell
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.1-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))) | |||||
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.1-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 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.1-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))) | |||||
channels for publish / subscribe
a publish channel with multiple writers
Constructors
| MkPLogChan | |
Fields | |