Page MenuHomePhabricator

[backport#18669] log: Use Join() helper when listing log categories
ClosedPublic

Authored by majcosta on Jan 20 2021, 19:23.

Details

Summary

faec0638872798b58b9882ee079014555bc8393e log: Use Join() helper when listing log categories (MarcoFalke)

Pull request description:

This removes the global `ListLogCategories` and replaces it with a one-line member function `LogCategoriesString`, which just calls `Join`.

Should be a straightforward refactor to get rid of a few LOC.

Backport of Core PR18669

Test Plan
ninja all check check-functional
./src/bitcoin-cli logging
./src/bitcoin-cli help logging

check output's alright

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.