Skip to content
Snippets Groups Projects
Verified Commit 0ba5c257 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Document the log() function

parent e139f8b9
No related branches found
No related tags found
No related merge requests found
Pipeline #3835 passed
#pragma once
/// @file
/// @brief Header for logging related functions
#include <memory>
#include <spdlog/spdlog.h>
namespace mtx {
namespace utils {
//! Logger utilities
namespace log {
/// @brief Access the logger and modify it.
///
/// For example you can set the sinky using `mtx::utils::log::log()->sinks() = sinks` or modify the
/// loglevel using `mtx::utils::log::log()->set_level(spdlog::level::trace)`
std::shared_ptr<spdlog::logger>
log();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment