18 lines
341 B
C++
18 lines
341 B
C++
#ifndef LOGCRITICAL_H
|
|
#define LOGCRITICAL_H
|
|
|
|
#include "LogType.h"
|
|
#include "LogStrategy.h"
|
|
#include "LogWriter.h"
|
|
|
|
class LogCritical : public LogStrategy
|
|
{
|
|
public:
|
|
void log(std::string message)
|
|
{
|
|
LogWriter* lw = LogWriter::getInstance();
|
|
lw->write(LogType::CRITICAL, message);
|
|
}
|
|
};
|
|
|
|
#endif |