mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 17:27:47 +00:00
cleanup logger includes
This commit is contained in:
parent
0fb40c62c5
commit
01009fdc56
2 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
#include "Logger.h"
|
#include "Logger.h"
|
||||||
|
|
||||||
|
#include <spdlog/spdlog.h>
|
||||||
|
#include <spdlog/async.h>
|
||||||
#include <spdlog/sinks/stdout_color_sinks.h>
|
#include <spdlog/sinks/stdout_color_sinks.h>
|
||||||
#include <spdlog/sinks/daily_file_sink.h>
|
#include <spdlog/sinks/daily_file_sink.h>
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#ifndef _LOGGER_H
|
#ifndef _LOGGER_H
|
||||||
#define _LOGGER_H
|
#define _LOGGER_H
|
||||||
|
|
||||||
#include <spdlog/spdlog.h>
|
#include <string>
|
||||||
#include <spdlog/async.h>
|
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
|
|
||||||
|
@ -22,8 +21,6 @@ class Logger
|
||||||
private:
|
private:
|
||||||
std::string m_logFile;
|
std::string m_logFile;
|
||||||
|
|
||||||
std::shared_ptr< spdlog::logger > m_logger;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Logger();
|
Logger();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue