forstio/source/forstio/log.h

26 lines
353 B
C
Raw Permalink Normal View History

#pragma once
#include "common.h"
2021-12-29 19:26:22 +01:00
namespace saw {
class EventLoop;
class LogIo;
class Log {
public:
enum class Type : uint8_t { Info, Warning, Error, Debug };
private:
LogIo &central;
EventLoop &loop;
public:
Log(LogIo &central, EventLoop &loop);
};
class LogIo {
private:
EventLoop &loop;
public:
LogIo(EventLoop &loop);
};
2021-12-29 19:26:22 +01:00
} // namespace saw