blob: 91b4757a1bb2229b444e314b411fa0f1e26749e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <string>
namespace bot::log {
enum LogLevel { INFO, DEBUG, WARN, ERROR };
void log(const LogLevel &level, const std::string &source,
const std::string &message);
// just shorthands
void info(const std::string &source, const std::string &message);
void debug(const std::string &source, const std::string &message);
void warn(const std::string &source, const std::string &message);
void error(const std::string &source, const std::string &message);
}
|