Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
logging.cc File Reference
#include "logging.h"
#include <spdlog/sinks/rotating_file_sink.h>
#include <spdlog/spdlog.h>
#include <algorithm>
#include <cstddef>
#include <memory>
#include <string>
#include <utility>
Include dependency graph for logging.cc:

Namespaces

namespace  mm
 

Functions

LogSinks mm::installLogSinks ()
 Replaces the default logger with a console sink plus the in-memory ring.
 
std::filesystem::path mm::applyLoggingConfig (const LogSinks &sinks, const LoggingConfig &config, const std::filesystem::path &userCacheRoot)
 Applies the configured levels and adds the rotating file sink.