hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.BaseApp.Logger.Katip

Contents

Synopsis

Setup and Config

data LogConfig Source #

Constructors

LogConfig 

Fields

logNamespace :: Lens' LogConfig Namespace Source #

logContext :: Lens' LogConfig LogContexts Source #

logEnv :: Lens' LogConfig LogEnv Source #

Eval

evalKatip :: forall r a. KatipContext (Sem r) => Sem (Logger ': r) a -> Sem r a Source #

Orphan instances

Members (Embed IO ': (Reader LogConfig ': ([] :: [(Type -> Type) -> Type -> Type]))) r => Katip (Sem r) Source # 
Instance details

Methods

getLogEnv :: Sem r LogEnv

localLogEnv :: (LogEnv -> LogEnv) -> Sem r a -> Sem r a

Members (Embed IO ': (Reader LogConfig ': ([] :: [(Type -> Type) -> Type -> Type]))) r => KatipContext (Sem r) Source # 
Instance details

Methods

getKatipContext :: Sem r LogContexts

localKatipContext :: (LogContexts -> LogContexts) -> Sem r a -> Sem r a

getKatipNamespace :: Sem r Namespace

localKatipNamespace :: (Namespace -> Namespace) -> Sem r a -> Sem r a