24 lines
287 B
C++
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();
|
|
}
|