HomePhabricator

[Part 2] Refactor logging code into a global object

Description

[Part 2] Refactor logging code into a global object

Summary:
util: Establish global logger object.

The object encapsulates logging configuration, and in a later commit,
set up routines will also be moved into the class.

Test Plan:
Run bitcoind with different permutations of:
-logtimestamps, -debug, -printtoconsole, -datadir, -shrinkdebugfile

Reviewers: jasonbcox, deadalnix, O1 Bitcoin ABC, #bitcoin_abc, schancel

Reviewed By: jasonbcox, deadalnix, O1 Bitcoin ABC, #bitcoin_abc, schancel

Subscribers: schancel, teamcity

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

Details

Provenance
jimpoAuthored on Apr 11 2018, 02:24
jimpoPushed on Apr 20 2018, 23:02
Reviewer
Restricted Owners Package
Differential Revision
D1281: [Part 2] Refactor logging code into a global object
Parents
rABC36765d789e83: Added developer-notes for debugging unit tests with GDB
Branches
Unknown
Tags
Unknown