Logging library with setup

This commit is contained in:
Anonymous-275
2021-12-27 00:36:12 +02:00
parent 94a7372e2c
commit f19d92eebc
7 changed files with 7022 additions and 5 deletions

22
include/Launcher.h Normal file
View File

@@ -0,0 +1,22 @@
///
/// Created by Anonymous275 on 12/26/21
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
///
#pragma once
#include <string>
class Launcher {
public:
Launcher(int argc, char* argv[]);
const std::string& getWorkingDir(){return DirPath;}
const std::string& getVersion(){return Version;}
const std::string& getFullVersion(){return FullVersion;}
private:
void WindowsInit();
private:
std::string DirPath;
std::string Version{"3.0"};
std::string FullVersion{Version + ".0"};
};

12
include/Logger.h Normal file
View File

@@ -0,0 +1,12 @@
///
/// Created by Anonymous275 on 12/26/21
/// Copyright (c) 2021-present Anonymous275 read the LICENSE file for more info.
///
#pragma once
#include "easylogging++.h"
class Log {
public:
static void Init(int argc, char* argv[]);
};

6932
include/easylogging++.h Normal file

File diff suppressed because it is too large Load Diff