server

package
v0.0.0-...-095f669 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CometZeroLogWrapper

type CometZeroLogWrapper struct {
	log.Logger
}

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

func (CometZeroLogWrapper) With

func (cmt CometZeroLogWrapper) 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