23 lines
334 B
C
23 lines
334 B
C
|
|
#ifndef __FISHBONE_LOGGER_H__
|
||
|
|
#define __FISHBONE_LOGGER_H__
|
||
|
|
|
||
|
|
#include <fishbone/pre.h>
|
||
|
|
|
||
|
|
namespace fishbone {
|
||
|
|
class Logger {
|
||
|
|
public:
|
||
|
|
enum class Cause {
|
||
|
|
INFO,
|
||
|
|
DEBUG,
|
||
|
|
WARNING,
|
||
|
|
ERROR,
|
||
|
|
CRITICAL,
|
||
|
|
};
|
||
|
|
|
||
|
|
void log(std::string message);
|
||
|
|
void log(Cause cause, std::string message);
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace fishbone
|
||
|
|
|
||
|
|
#endif
|