Skip to content

Commit e1c27da

Browse files
committed
doc: correct logging rpc return type and example
1 parent 7275365 commit e1c27da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rpc/misc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,13 +404,13 @@ UniValue logging(const JSONRPCRequest& request)
404404
},
405405
RPCResult{
406406
"{ (json object where keys are the logging categories, and values indicates its status\n"
407-
" \"category\": 0|1, (numeric) if being debug logged or not. 0:inactive, 1:active\n"
407+
" \"category\": true|false, (bool) if being debug logged or not. false:inactive, true:active\n"
408408
" ...\n"
409409
"}\n"
410410
},
411411
RPCExamples{
412412
HelpExampleCli("logging", "\"[\\\"all\\\"]\" \"[\\\"http\\\"]\"")
413-
+ HelpExampleRpc("logging", "[\"all\"], \"[libevent]\"")
413+
+ HelpExampleRpc("logging", "[\"all\"], [\"libevent\"]")
414414
},
415415
}.ToString());
416416
}

0 commit comments

Comments
 (0)