premake finally working, todo add sdl support to linux build
This commit is contained in:
16
SakuraVNE/src/Log.cpp
Normal file
16
SakuraVNE/src/Log.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "Log.h"
|
||||
|
||||
#include "spdlog/sinks/stdout_color_sinks.h"
|
||||
|
||||
namespace SakuraVNE{
|
||||
|
||||
std::shared_ptr<spdlog::logger> Log::m_Logger;
|
||||
|
||||
|
||||
void Log::Init(){
|
||||
spdlog::set_pattern("%^[%T] %n: %v%$");
|
||||
|
||||
m_Logger = spdlog::stdout_color_mt("Sakura");
|
||||
m_Logger->set_level(spdlog::level::trace);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user