Rename LoadLogSettings to LoadLogSettingsDefaults

This commit is contained in:
Akkadius 2015-01-16 00:07:30 -06:00
parent 0d2c396680
commit 70fbf23d27
10 changed files with 10 additions and 10 deletions

View File

@ -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");

View File

@ -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");

View File

@ -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;

View File

@ -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, ...);

View File

@ -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;

View File

@ -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

View File

@ -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");

View File

@ -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

View File

@ -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 */

View File

@ -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);