2019-08-01 19:19:02 +00:00
|
|
|
//
|
2019-10-26 12:41:43 +00:00
|
|
|
// Created by lukas on 26.10.19.
|
2019-08-01 19:19:02 +00:00
|
|
|
//
|
2019-10-26 12:41:43 +00:00
|
|
|
|
2019-08-01 19:19:02 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-08-02 20:44:42 +00:00
|
|
|
#include <string>
|
2019-10-26 12:41:43 +00:00
|
|
|
|
2019-08-01 19:19:02 +00:00
|
|
|
class Logger {
|
|
|
|
public:
|
2019-10-26 12:41:43 +00:00
|
|
|
static void debug(std::string message);
|
|
|
|
static void message(std::string message);
|
|
|
|
static void warning(std::string message);
|
|
|
|
static void error(std::string message);
|
2019-08-01 19:19:02 +00:00
|
|
|
|
2020-04-30 10:16:29 +00:00
|
|
|
static void log(const std::string &message, int level);
|
2019-08-01 19:19:02 +00:00
|
|
|
|
2020-04-30 17:37:11 +00:00
|
|
|
static const int Debug = 4;
|
|
|
|
static const int Message = 3;
|
|
|
|
static const int Warning = 2;
|
|
|
|
static const int Error = 1;
|
2019-08-01 19:19:02 +00:00
|
|
|
};
|