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

package flags

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


Package Files


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).


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

Package flags imports 4 packages (graph) and is imported by 17 packages. Updated 2020-05-13. Refresh now. Tools for package owners.