HomePhabricator

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

Description

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

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D8993

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 26 2020, 23:57
majcostaCommitted on Jan 21 2021, 12:28
majcostaPushed on Jan 21 2021, 12:28
Reviewer
Restricted Project
Differential Revision
D8993: [backport#18669] log: Use Join() helper when listing log categories
Parents
rABCd0fa5ad23b7c: [backport#18777] wallet: Recommend absolute path for dumpwallet
Branches
Unknown
Tags
Unknown