iohk-monitoring-0.1.10.1: logging, benchmarking and monitoring framework
Safe HaskellNone
LanguageHaskell2010

Cardano.BM.Backend.Log

Synopsis

Documentation

data Log a Source #

Instances

Instances details
(ToJSON a, FromJSON a) => IsBackend Log a Source # 
Instance details

Defined in Cardano.BM.Backend.Log

Associated Types

type BackendFailure Log Source #

ToJSON a => IsEffectuator Log a Source # 
Instance details

Defined in Cardano.BM.Backend.Log

Methods

effectuate :: Log a -> LogObject a -> IO () Source #

effectuatefrom :: IsEffectuator s a => Log a -> LogObject a -> s a -> IO () Source #

handleOverflow :: Log a -> IO () Source #

type BackendFailure Log Source # 
Instance details

Defined in Cardano.BM.Backend.Log

effectuate :: IsEffectuator t a => t a -> LogObject a -> IO () Source #

unrealize :: IsBackend t a => t a -> IO () Source #

re-exports

data Scribe Source #

Instances

Instances details
Semigroup Scribe

Combine two scribes. Publishes to the left scribe if the left would permit the item and to the right scribe if the right would permit the item. Finalizers are called in sequence from left to right.

Instance details

Defined in Katip.Core

Monoid Scribe 
Instance details

Defined in Katip.Core

Orphan instances

ToObject Text Source # 
Instance details

Methods

toObject :: Text -> Object Source #

ToObject Value Source # 
Instance details

LogItem Text Source # 
Instance details

(ToJSON a, ToJSON b, ToObject a, ToObject b) => ToObject (Maybe (Either a b)) Source # 
Instance details

Methods

toObject :: Maybe (Either a b) -> Object Source #

ToJSON a => ToObject (Maybe (LOContent a)) Source # 
Instance details

ToJSON a => ToObject (LOContent a) Source # 
Instance details

ToJSON a => ToObject (LogObject a) Source # 
Instance details

(ToJSON a, ToJSON b, ToObject a, ToObject b) => LogItem (Maybe (Either a b)) Source # 
Instance details

ToJSON a => LogItem (Maybe (LOContent a)) Source # 
Instance details

ToJSON a => LogItem (LogObject a) Source # 
Instance details