Bitcoin Core 28.99.0
P2P Digital Currency
common.h
Go to the documentation of this file.
1// Copyright (c) 2021-2022 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
7
8#ifndef BITCOIN_INIT_COMMON_H
9#define BITCOIN_INIT_COMMON_H
10
11#include <util/result.h>
12
13class ArgsManager;
14
15namespace init {
20bool StartLogging(const ArgsManager& args);
22} // namespace init
23
24#endif // BITCOIN_INIT_COMMON_H
ArgsManager & args
Definition: bitcoind.cpp:277
void AddLoggingArgs(ArgsManager &argsman)
Definition: common.cpp:27
util::Result< void > SetLoggingCategories(const ArgsManager &args)
Definition: common.cpp:80
bool StartLogging(const ArgsManager &args)
Definition: common.cpp:105
util::Result< void > SetLoggingLevel(const ArgsManager &args)
Definition: common.cpp:59
void SetLoggingOptions(const ArgsManager &args)
Definition: common.cpp:45
void LogPackageVersion()
Definition: common.cpp:145