hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.BaseApp.Logger

Synopsis

Documentation

data Logger m a where Source #

Effect allowing for console logging.

Constructors

Log :: Severity -> Text -> Logger m () 
AddContext :: (Select x, ToJSON x) => x -> m a -> Logger m a 
Instances
type DefiningModule Logger Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Logger

type DefiningModule Logger = "Tendermint.SDK.BaseApp.Logger"

log :: forall r. MemberWithError Logger r => Severity -> Text -> Sem r () Source #

addContext :: forall r x a. (MemberWithError Logger r, Select x, ToJSON x) => x -> Sem r a -> Sem r a Source #

data LogSelect Source #

Constructors

All 
Some [Text] 

class Select a where Source #

Class for selecting object keys for contextual logging

Minimal complete definition

Nothing

Instances
Select a => Select (ContextEvent a) Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Events

data Verbosity Source #

Constructors

V0 
V1 
V2 
V3