|
|
@ -6,6 +6,8 @@ namespace Inferno { |
|
|
|
std::shared_ptr<Logger> Log::m_coreLogger; |
|
|
|
std::shared_ptr<Logger> Log::m_coreLogger; |
|
|
|
std::shared_ptr<Logger> Log::m_gameLogger; |
|
|
|
std::shared_ptr<Logger> Log::m_gameLogger; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// -----------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
void Log::initialize() |
|
|
|
void Log::initialize() |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Create engine Logger
|
|
|
|
// Create engine Logger
|
|
|
@ -16,6 +18,8 @@ namespace Inferno { |
|
|
|
NF_CORE_INFO("Log initialized"); |
|
|
|
NF_CORE_INFO("Log initialized"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// -----------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
Logger::Logger(const char* name) : |
|
|
|
Logger::Logger(const char* name) : |
|
|
|
m_name(name) |
|
|
|
m_name(name) |
|
|
|
{ |
|
|
|
{ |
|
|
|