package
0.1.1
Repository: https://github.com/paust-team/paust-db.git
Documentation: pkg.go.dev

# Functions

AllowAll is an alias for AllowDebug.
AllowDebug allows error, info and debug level log events to pass.
AllowError allows only error level log events to pass.
AllowInfo allows error and info level log events to pass.
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.
NewFilter wraps next and implements filtering.
NewPDBFmtLogger returns a logger that encodes keyvals to the Writer in paust-db custom format.
NewPDBLogger returns a logger that encodes msg and keyvals to the Writer using go-kit's log as an underlying logger and our custom formatter.
NewSyncWriter returns a new writer that is safe for concurrent use by multiple goroutines.

# Interfaces

No description provided by the author

# Type aliases

Option sets a parameter for the filter.