server

package
v0.47.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CometLoggerWrapper

type CometLoggerWrapper struct {
	log.Logger
}

CometLoggerWrapper provides a wrapper around a zerolog.Logger instance. It implements CometBFT's Logger interface.

func (CometLoggerWrapper) With

func (cmt CometLoggerWrapper) With(keyVals ...interface{}) cmtlog.Logger

With returns a new wrapped logger with additional context provided by a set of key/value tuples. The number of tuples must be even and the key of the tuple must be a string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL