singe/io/logger.cpp
2019-11-11 14:53:02 -06:00

24 lines
287 B
C++

#include "logger.h"
ILogger::~ILogger()
{
}
void NullLogger::DeleteInstance()
{
delete this;
}
void NullLogger::Log(const string &strText)
{
// do nothing, since this is a null logger
}
NullLogger::NullLogger()
{
}
ILogger *NullLogger::GetInstance()
{
return new NullLogger();
}