package
1.3.1
Repository: https://github.com/dashpay/tenderdash.git
Documentation: pkg.go.dev

# Functions

CtxWithLogger adds a logger instance to a context.
FromCtxOrNop gets a logger instance from a context returns Nop logger if logget didn't add.
NewDefaultLogger returns a default logger that can be used within Tendermint and that fulfills the Logger interface.
NewFormatter creates a new formatter for the given format.
No description provided by the author
NewMultiLogger creates a new logger that writes to os.Stderr and an additional log file if provided.
No description provided by the author
NewTestingLogger converts a testing.T into a logging interface to make test failures and verbose provide better feedback associated with test failures.
NewTestingLoggerWithLevel creates a testing logger instance at a specific level that wraps the behavior of testing.T.Log().
OverrideWithNewLogger replaces an existing logger's internal with a new logger, and makes it possible to reconfigure an existing logger that has already been propagated to callers.

# Constants

LogFormatJSON defines a logging format for structured JSON-based logging that is typically used in production environments, which can be sent to logging facilities that support complex log parsing and querying.
LogFormatPlain defines a logging format used for human-readable text-based logging that is not structured.
LogFormatText defines a logging format used for human-readable text-based logging that is not structured.
No description provided by the author
No description provided by the author
No description provided by the author
Supported loging levels.
No description provided by the author

# Structs

No description provided by the author

# Interfaces

Logger defines a generic logging interface compatible with Tendermint.