package
0.26.0-dev0
Repository: https://github.com/petejkim/tendermint.git
Documentation: pkg.go.dev

# Functions

AllowAll is an alias for AllowDebug.
AllowDebug allows error, info and debug level log events to pass.
AllowDebugWith allows error, info and debug level log events to pass for a specific key value pair.
AllowError allows only error level log events to pass.
AllowErrorWith allows only error level log events to pass for a specific key value pair.
AllowInfo allows error and info level log events to pass.
AllowInfoWith allows error and info level log events to pass for a specific key value pair.
AllowLevel returns an option for the given level or error if no option exist for such level.
AllowNone allows no leveled log events to pass.
AllowNoneWith allows no leveled log events to pass for a specific key value pair.
NewFilter wraps next and implements filtering.
NewNopLogger returns a logger that doesn't do anything.
NewSyncWriter returns a new writer that is safe for concurrent use by multiple goroutines.
NewTMFmtLogger returns a logger that encodes keyvals to the Writer in Tendermint custom format.
NewTMJSONLogger returns a Logger that encodes keyvals to the Writer as a single JSON object.
NewTMTermLogger returns a logger that encodes msg and keyvals to the Writer using go-kit's log as an underlying logger and our custom formatter.
NewTMLoggerWithColorFn allows you to provide your own color function.
NewTracingLogger enables tracing by wrapping all errors (if they implement stackTracer interface) in tracedError.
TestingLogger returns a TMLogger which writes to STDOUT if testing being run with the verbose (-v) flag, NopLogger otherwise.
TestingLoggerWithColorFn allow you to provide your own color function.

# Interfaces

Logger is what any Tendermint library should take.

# Type aliases

Option sets a parameter for the filter.