Volume Cartographer 2.27.0
Logging.hpp
Go to the documentation of this file.
1#pragma once
2
9#include <spdlog/spdlog.h>
10
12
17namespace volcart
18{
19namespace logging
20{
26void AddLogFile(const volcart::filesystem::path& path);
27
29void SetLogLevel(const std::string& s);
30} // namespace logging
31
33auto Logger() -> std::shared_ptr<spdlog::logger>;
34
35} // namespace volcart
void AddLogFile(const volcart::filesystem::path &path)
Add a log file output to the logger.
void SetLogLevel(const std::string &s)
Set the logging level.
Volume Cartographer library
auto Logger() -> std::shared_ptr< spdlog::logger >
Volume Cartographer global logger.