1#pragma once
2
3/// @file
4/// @brief Header for logging related functions
5
6#include <memory>
7#include <spdlog/spdlog.h>
8
9namespace mtx {
10namespace utils {
11//! Logger utilities
12namespace log {
13/// @brief Access the logger and modify it.
14///
15/// For example you can set the sinks using `mtx::utils::log::log()->sinks() = sinks` or modify the
16/// loglevel using `mtx::utils::log::log()->set_level(spdlog::level::trace)`.
17std::shared_ptr<spdlog::logger>
18log();
19}
20}
21}
22