| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.BM.Data.LogItem
Documentation
Instances
| Functor LogObject Source # | |
| Eq a => Eq (LogObject a) Source # | |
| Show a => Show (LogObject a) Source # | |
| ToJSON a => ToJSON (LogObject a) Source # | |
| FromJSON a => FromJSON (LogObject a) Source # | |
| ToJSON a => ToObject (LogObject a) Source # | |
| ToJSON a => LogItem (LogObject a) Source # | |
Defined in Cardano.BM.Backend.Log Methods payloadKeys :: Verbosity -> LogObject a -> PayloadSelection Source # | |
| ToJSON a => ToObject (LogObject a) Source # | |
Defined in Cardano.BM.Data.Tracer | |
loType2Name :: LOContent a -> Text Source #
Constructors
| LOMeta | |
Constructors
Instances
| Eq a => Eq (LOContent a) Source # | |
| Show a => Show (LOContent a) Source # | |
| ToJSON a => ToJSON (LOContent a) Source # | |
| FromJSON a => FromJSON (LOContent a) Source # | |
| ToJSON a => ToObject (Maybe (LOContent a)) Source # | |
| ToJSON a => ToObject (LOContent a) Source # | |
| ToJSON a => LogItem (Maybe (LOContent a)) Source # | |
Defined in Cardano.BM.Backend.Log Methods payloadKeys :: Verbosity -> Maybe (LOContent a) -> PayloadSelection Source # | |
| ToJSON a => ToObject (LOContent a) Source # | |
Defined in Cardano.BM.Data.Tracer | |
newtype CommandValue Source #
Constructors
| DumpBufferedTo BackendKind |
Instances
| Eq CommandValue Source # | |
Defined in Cardano.BM.Data.LogItem | |
| Show CommandValue Source # | |
Defined in Cardano.BM.Data.LogItem Methods showsPrec :: Int -> CommandValue -> ShowS # show :: CommandValue -> String # showList :: [CommandValue] -> ShowS # | |
| ToJSON CommandValue Source # | |
Defined in Cardano.BM.Data.LogItem Methods toJSON :: CommandValue -> Value Source # toEncoding :: CommandValue -> Encoding Source # toJSONList :: [CommandValue] -> Value Source # toEncodingList :: [CommandValue] -> Encoding Source # | |
| FromJSON CommandValue Source # | |
Defined in Cardano.BM.Data.LogItem Methods parseJSON :: Value -> Parser CommandValue Source # parseJSONList :: Value -> Parser [CommandValue] Source # | |
type LoggerName = Text Source #
data MonitorAction Source #
Constructors
| MonitorAlert Text | |
| MonitorAlterGlobalSeverity Severity | |
| MonitorAlterSeverity LoggerName Severity |
Instances
| Eq MonitorAction Source # | |
Defined in Cardano.BM.Data.LogItem Methods (==) :: MonitorAction -> MonitorAction -> Bool # (/=) :: MonitorAction -> MonitorAction -> Bool # | |
| Show MonitorAction Source # | |
Defined in Cardano.BM.Data.LogItem Methods showsPrec :: Int -> MonitorAction -> ShowS # show :: MonitorAction -> String # showList :: [MonitorAction] -> ShowS # | |
| ToJSON MonitorAction Source # | |
Defined in Cardano.BM.Data.LogItem Methods toJSON :: MonitorAction -> Value Source # toEncoding :: MonitorAction -> Encoding Source # toJSONList :: [MonitorAction] -> Value Source # toEncodingList :: [MonitorAction] -> Encoding Source # | |
| FromJSON MonitorAction Source # | |
Defined in Cardano.BM.Data.LogItem Methods parseJSON :: Value -> Parser MonitorAction Source # parseJSONList :: Value -> Parser [MonitorAction] Source # | |
data PrivacyAnnotation Source #
Constructors
| Confidential | |
| Public |
Instances
data PrivacyAndSeverityAnnotated a Source #
Constructors
| PSA | |
Fields
| |
Instances
| Show a => Show (PrivacyAndSeverityAnnotated a) Source # | |
Defined in Cardano.BM.Data.LogItem Methods showsPrec :: Int -> PrivacyAndSeverityAnnotated a -> ShowS # show :: PrivacyAndSeverityAnnotated a -> String # showList :: [PrivacyAndSeverityAnnotated a] -> ShowS # | |
mapLogObject :: (a -> b) -> LogObject a -> LogObject b Source #
mapLOContent :: (a -> b) -> LOContent a -> LOContent b Source #
loname2text :: [LoggerName] -> Text Source #