mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-07 00:06:08 +00:00
Logging library with setup
This commit is contained in:
22
include/Launcher.h
Normal file
22
include/Launcher.h
Normal 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
12
include/Logger.h
Normal 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
6932
include/easylogging++.h
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user