tendermint: github.com/tendermint/tendermint/libs/cli/flags Index | Files

package flags

import "github.com/tendermint/tendermint/libs/cli/flags"

Index

Package Files

log_level.go

func ParseLogLevel Uses

func ParseLogLevel(lvl string, logger log.Logger, defaultLogLevelValue string) (log.Logger, error)

ParseLogLevel parses complex log level - comma-separated list of module:level pairs with an optional *:level pair (* means all other modules).

Example:

ParseLogLevel("consensus:debug,mempool:debug,*:error", log.NewTMLogger(os.Stdout), "info")

Package flags imports 4 packages (graph) and is imported by 11 packages. Updated 2018-11-30. Refresh now. Tools for package owners.