2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
42#ifndef LOGGER_LOGGER_H
43#define LOGGER_LOGGER_H
45#ifndef DOXYGEN_SHOULD_SKIP_THIS
48#pragma GCC diagnostic push
50#if __has_warning
("-Wdocumentation-unknown-command")
51#pragma GCC diagnostic ignored "-Wdocumentation-unknown-command"
55#include <easylogging++.h>
57#pragma GCC diagnostic pop
81 FG_LIGHT_MAGENTA = 95,
90 std::ostream& operator<<(std::ostream& os, Code code);
104 static void setLogLevel(
int level);
106 static void setVerboseLevel(
int level);
108 static void logToFile(
const std::string& logFile);
110 static void setQuiet(
bool quiet =
true);
112 static void setCustomFormatSpec(
const char* format,
const el::FormatSpecifierValueResolver& resolver);
int main(int argc, char *argv[])