transm/util/util.h

8 lines
262 B
C++

#ifndef TRANSM_UTIL
#define TRANSM_UTIL
#include <spdlog/sinks/rotating_file_sink.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
std::shared_ptr<spdlog::logger> get_logger(const std::string& mark, const std::string& log_file);
#endif