doc: correct logging rpc return type and example
This commit is contained in:
parent
7275365c9b
commit
e1c27da303
1 changed files with 2 additions and 2 deletions
|
@ -404,13 +404,13 @@ UniValue logging(const JSONRPCRequest& request)
|
|||
},
|
||||
RPCResult{
|
||||
"{ (json object where keys are the logging categories, and values indicates its status\n"
|
||||
" \"category\": 0|1, (numeric) if being debug logged or not. 0:inactive, 1:active\n"
|
||||
" \"category\": true|false, (bool) if being debug logged or not. false:inactive, true:active\n"
|
||||
" ...\n"
|
||||
"}\n"
|
||||
},
|
||||
RPCExamples{
|
||||
HelpExampleCli("logging", "\"[\\\"all\\\"]\" \"[\\\"http\\\"]\"")
|
||||
+ HelpExampleRpc("logging", "[\"all\"], \"[libevent]\"")
|
||||
+ HelpExampleRpc("logging", "[\"all\"], [\"libevent\"]")
|
||||
},
|
||||
}.ToString());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue