// Copyright (c) 2021-2022 The Limenka 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 limenka-node, limenka-wallet, etc. #ifndef LIMENKA_INIT_COMMON_H #define LIMENKA_INIT_COMMON_H #include class ArgsManager; namespace init { void AddLoggingArgs(ArgsManager& args); void SetLoggingOptions(const ArgsManager& args); [[nodiscard]] util::Result SetLoggingCategories(const ArgsManager& args); [[nodiscard]] util::Result SetLoggingLevel(const ArgsManager& args); bool StartLogging(const ArgsManager& args); void LogPackageVersion(); } // namespace init #endif // LIMENKA_INIT_COMMON_H