31 #ifndef LEDGER_CORE_LOGGER_HPP 32 #define LEDGER_CORE_LOGGER_HPP 34 #include <spdlog/spdlog.h> 35 #include "../api/ExecutionContext.hpp" 36 #include "../api/LogPrinter.hpp" 37 #include "../api/PathResolver.hpp" 40 #include "../utils/optional.hpp" 46 static const std::size_t DEFAULT_MAX_SIZE = 5 * 1048576;
47 static std::shared_ptr<spdlog::logger> create(
48 const std::string& name,
49 const std::shared_ptr<api::ExecutionContext>& context,
50 const std::shared_ptr<api::PathResolver>& resolver,
51 const std::shared_ptr<api::LogPrinter>& printer,
52 std::size_t maxSize = DEFAULT_MAX_SIZE,
61 #endif //LEDGER_CORE_LOGGER_HPP Definition: Account.cpp:8
Definition: logger.hpp:44