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

Instances details
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

Methods

select :: Verbosity -> a -> LogSelect Source #

default select :: Verbosity -> a -> LogSelect Source #

Instances

Instances details
Select TransferEvent Source # 
Instance details

Defined in Tendermint.SDK.Modules.Bank.Types

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

Defined in Tendermint.SDK.BaseApp.Events

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 Severity Source #

Constructors

Debug 
Info 
Warning 
Error 
Exception 

Instances

Instances details
Eq Severity Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Logger

Ord Severity Source # 
Instance details

Defined in Tendermint.SDK.BaseApp.Logger

data Verbosity Source #

Constructors

V0 
V1 
V2 
V3