20#ifndef ORES_LOGGING_MAKE_LOGGER_HPP
21#define ORES_LOGGING_MAKE_LOGGER_HPP
24#include <boost/log/sources/record_ostream.hpp>
25#include <boost/log/sources/severity_channel_logger.hpp>
26#include "ores.logging/boost_severity.hpp"
30using logger_t = boost::log::sources::severity_channel_logger_mt<
33inline logger_t make_logger(std::string_view component_name) {
34 using namespace boost::log;
35 return logger_t(keywords::channel = component_name);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
boost_severity
Internal Boost.Log severity level enum.
Definition boost_severity.hpp:40