forked from hush/SilentDragonLite
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
397 B
20 lines
397 B
// Copyright 2019-2021 The Hush developers
|
|
// Released under the GPLv3
|
|
#ifndef LOGINFO_H
|
|
#define LOGINFO_H
|
|
|
|
#include "LogType.h"
|
|
#include "LogStrategy.h"
|
|
#include "LogWriter.h"
|
|
|
|
class LogInfo : public LogStrategy
|
|
{
|
|
public:
|
|
void log(std::string message)
|
|
{
|
|
LogWriter* lw = LogWriter::getInstance();
|
|
lw->write(LogType::INFO, message);
|
|
}
|
|
};
|
|
|
|
#endif
|
|
|