mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 18:51:29 +00:00
Rename LoadLogSettings to LoadLogSettingsDefaults
This commit is contained in:
parent
0d2c396680
commit
70fbf23d27
@ -35,7 +35,7 @@ void ExportBaseData(SharedDatabase *db);
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
RegisterExecutablePlatform(ExePlatformClientExport);
|
RegisterExecutablePlatform(ExePlatformClientExport);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
logger.Log(EQEmuLogSys::Status, "Client Files Export Utility");
|
logger.Log(EQEmuLogSys::Status, "Client Files Export Utility");
|
||||||
|
|||||||
@ -33,7 +33,7 @@ void ImportBaseData(SharedDatabase *db);
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
RegisterExecutablePlatform(ExePlatformClientImport);
|
RegisterExecutablePlatform(ExePlatformClientImport);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
logger.Log(EQEmuLogSys::Status, "Client Files Import Utility");
|
logger.Log(EQEmuLogSys::Status, "Client Files Import Utility");
|
||||||
|
|||||||
@ -89,7 +89,7 @@ EQEmuLogSys::EQEmuLogSys(){
|
|||||||
EQEmuLogSys::~EQEmuLogSys(){
|
EQEmuLogSys::~EQEmuLogSys(){
|
||||||
}
|
}
|
||||||
|
|
||||||
void EQEmuLogSys::LoadLogSettings()
|
void EQEmuLogSys::LoadLogSettingsDefaults()
|
||||||
{
|
{
|
||||||
log_platform = GetExecutablePlatformInt();
|
log_platform = GetExecutablePlatformInt();
|
||||||
std::cout << "PLATFORM " << log_platform << std::endl;
|
std::cout << "PLATFORM " << log_platform << std::endl;
|
||||||
|
|||||||
@ -75,7 +75,7 @@ public:
|
|||||||
|
|
||||||
void CloseFileLogs();
|
void CloseFileLogs();
|
||||||
|
|
||||||
void LoadLogSettings();
|
void LoadLogSettingsDefaults();
|
||||||
void Log(uint16 log_type, const std::string message, ...);
|
void Log(uint16 log_type, const std::string message, ...);
|
||||||
void LogDebug(DebugLevel debug_level, std::string message, ...);
|
void LogDebug(DebugLevel debug_level, std::string message, ...);
|
||||||
void LogDebugType(DebugLevel debug_level, uint16 log_category, std::string message, ...);
|
void LogDebugType(DebugLevel debug_level, uint16 log_category, std::string message, ...);
|
||||||
|
|||||||
@ -39,7 +39,7 @@ void CatchSignal(int sig_num);
|
|||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
RegisterExecutablePlatform(ExePlatformLaunch);
|
RegisterExecutablePlatform(ExePlatformLaunch);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
std::string launcher_name;
|
std::string launcher_name;
|
||||||
|
|||||||
@ -50,7 +50,7 @@ void CatchSignal(int sig_num) {
|
|||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
RegisterExecutablePlatform(ExePlatformQueryServ);
|
RegisterExecutablePlatform(ExePlatformQueryServ);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
Timer LFGuildExpireTimer(60000);
|
Timer LFGuildExpireTimer(60000);
|
||||||
Timer InterserverTimer(INTERSERVER_TIMER); // does auto-reconnect
|
Timer InterserverTimer(INTERSERVER_TIMER); // does auto-reconnect
|
||||||
|
|||||||
@ -37,7 +37,7 @@ EQEmuLogSys logger;
|
|||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
RegisterExecutablePlatform(ExePlatformSharedMemory);
|
RegisterExecutablePlatform(ExePlatformSharedMemory);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
logger.Log(EQEmuLogSys::Status, "Shared Memory Loader Program");
|
logger.Log(EQEmuLogSys::Status, "Shared Memory Loader Program");
|
||||||
|
|||||||
@ -69,7 +69,7 @@ std::string GetMailPrefix() {
|
|||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
RegisterExecutablePlatform(ExePlatformUCS);
|
RegisterExecutablePlatform(ExePlatformUCS);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
// Check every minute for unused channels we can delete
|
// Check every minute for unused channels we can delete
|
||||||
|
|||||||
@ -113,7 +113,7 @@ void CatchSignal(int sig_num);
|
|||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int argc, char** argv) {
|
||||||
RegisterExecutablePlatform(ExePlatformWorld);
|
RegisterExecutablePlatform(ExePlatformWorld);
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
set_exception_handler();
|
set_exception_handler();
|
||||||
|
|
||||||
/* Database Version Check */
|
/* Database Version Check */
|
||||||
|
|||||||
@ -174,7 +174,7 @@ int main(int argc, char** argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Register Log System and Settings */
|
/* Register Log System and Settings */
|
||||||
logger.LoadLogSettings();
|
logger.LoadLogSettingsDefaults();
|
||||||
logger.OnLogHookCallBackZone(&ClientLogs::ClientMessage);
|
logger.OnLogHookCallBackZone(&ClientLogs::ClientMessage);
|
||||||
database.LoadLogSysSettings(logger.log_settings);
|
database.LoadLogSysSettings(logger.log_settings);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user