2018-12-09 02:35:08 +00:00
|
|
|
#ifndef LOGGER_HPP
|
|
|
|
#define LOGGER_HPP
|
2020-04-22 12:53:42 +01:00
|
|
|
#include <iosfwd> // IWYU pragma: keep
|
|
|
|
#include <memory> // IWYU pragma: keep
|
|
|
|
#include <spdlog/sinks/basic_file_sink.h> // IWYU pragma: keep
|
|
|
|
#include <spdlog/sinks/daily_file_sink.h> // IWYU pragma: keep
|
2020-04-22 10:56:45 +01:00
|
|
|
#include <spdlog/sinks/stdout_color_sinks.h> // IWYU pragma: keep
|
2020-04-22 12:53:42 +01:00
|
|
|
#include <spdlog/spdlog.h> // IWYU pragma: keep
|
2018-12-09 02:35:08 +00:00
|
|
|
|
|
|
|
std::shared_ptr<spdlog::logger>
|
|
|
|
initLogger(std::string name);
|
|
|
|
|
|
|
|
#endif
|