hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.BaseApp.Logger

Contents

Synopsis

Effects

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 #

class Select a where Source #

Class for selecting object keys for contextual logging

Minimal complete definition

Nothing

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

Types

data LogSelect Source #

Constructors

All 
Some [Text] 

data Verbosity Source #

Constructors

V0 
V1 
V2 
V3