mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Removed platform code, refactored logging to account for it and removed logging global var.
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include <fmt/format.h>
|
||||
#include "eqemu_command_handler.h"
|
||||
#include "terminal_color.hpp"
|
||||
#include "../platform.h"
|
||||
|
||||
namespace EQEmuCommand {
|
||||
|
||||
@@ -119,6 +118,7 @@ namespace EQEmuCommand {
|
||||
std::string &description
|
||||
)> &in_function_map,
|
||||
argh::parser &cmd,
|
||||
const std::string& platform,
|
||||
int argc,
|
||||
char **argv
|
||||
)
|
||||
@@ -137,7 +137,7 @@ namespace EQEmuCommand {
|
||||
std::cout <<
|
||||
"> " <<
|
||||
termcolor::yellow <<
|
||||
"EQEmulator [" + GetPlatformName() + "] CLI Menu" <<
|
||||
"EQEmulator [" + platform + "] CLI Menu" <<
|
||||
termcolor::reset
|
||||
<< std::endl
|
||||
<< std::endl;
|
||||
|
||||
@@ -66,6 +66,7 @@ namespace EQEmuCommand {
|
||||
std::string &description
|
||||
)> &in_function_map,
|
||||
argh::parser &cmd,
|
||||
const std::string &platform,
|
||||
int argc,
|
||||
char **argv
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user