mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-20 10:42:11 +08:00
Add panic as loglevel in log config
License: MIT Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
@ -45,7 +45,7 @@ output of a running daemon.
|
|||||||
// TODO use a different keyword for 'all' because all can theoretically
|
// TODO use a different keyword for 'all' because all can theoretically
|
||||||
// clash with a subsystem name
|
// clash with a subsystem name
|
||||||
cmds.StringArg("subsystem", true, false, fmt.Sprintf("the subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
|
cmds.StringArg("subsystem", true, false, fmt.Sprintf("the subsystem logging identifier. Use '%s' for all subsystems.", logAllKeyword)),
|
||||||
cmds.StringArg("level", true, false, "one of: debug, info, warning, error, fatal"),
|
cmds.StringArg("level", true, false, "one of: debug, info, warning, error, fatal, panic"),
|
||||||
},
|
},
|
||||||
Run: func(req cmds.Request, res cmds.Response) {
|
Run: func(req cmds.Request, res cmds.Response) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user