mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-24 21:04:46 +02:00
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- Commits of previous years: - 2021:f47dda2c58- 2020:fa0074e2d8- 2019:aaaaad6ac9
23 lines
693 B
C++
23 lines
693 B
C++
// Copyright (c) 2021-2022 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
//! @file
|
|
//! @brief Common init functions shared by bitcoin-node, bitcoin-wallet, etc.
|
|
|
|
#ifndef BITCOIN_INIT_COMMON_H
|
|
#define BITCOIN_INIT_COMMON_H
|
|
|
|
class ArgsManager;
|
|
|
|
namespace init {
|
|
void AddLoggingArgs(ArgsManager& args);
|
|
void SetLoggingOptions(const ArgsManager& args);
|
|
void SetLoggingCategories(const ArgsManager& args);
|
|
void SetLoggingLevel(const ArgsManager& args);
|
|
bool StartLogging(const ArgsManager& args);
|
|
void LogPackageVersion();
|
|
} // namespace init
|
|
|
|
#endif // BITCOIN_INIT_COMMON_H
|