Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 374 Bytes

logging_go.md

File metadata and controls

19 lines (12 loc) · 374 Bytes

logging.go

peer logging 相关命令的入口。

进一步支持getlevel|setlevel|revertlevels等子命令。

// Cmd returns the cobra command for Logging
func Cmd(cf *LoggingCmdFactory) *cobra.Command {
	loggingCmd.AddCommand(getLevelCmd(cf))
	loggingCmd.AddCommand(setLevelCmd(cf))
	loggingCmd.AddCommand(revertLevelsCmd(cf))

	return loggingCmd
}