mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out
This commit is contained in:
+3
-3
@@ -64,7 +64,7 @@ EXTERN_C XS(boot_qc)
|
||||
file[255] = '\0';
|
||||
|
||||
if(items != 1)
|
||||
Log.DoLog(EQEmuLogSys::General, EQEmuLogSys::Error, "boot_qc does not take any arguments.");
|
||||
Log.Out(EQEmuLogSys::General, EQEmuLogSys::Error, "boot_qc does not take any arguments.");
|
||||
|
||||
char buf[128]; //shouldent have any function names longer than this.
|
||||
|
||||
@@ -100,7 +100,7 @@ XS(XS_EQEmuIO_PRINT)
|
||||
int len = 0;
|
||||
for(i = 0; *cur != '\0'; i++, cur++) {
|
||||
if(*cur == '\n') {
|
||||
Log.DoLog(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
||||
Log.Out(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
||||
len = 0;
|
||||
pos = i+1;
|
||||
} else {
|
||||
@@ -108,7 +108,7 @@ XS(XS_EQEmuIO_PRINT)
|
||||
}
|
||||
}
|
||||
if(len > 0) {
|
||||
Log.DoLog(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
||||
Log.Out(EQEmuLogSys::Detail, EQEmuLogSys::Quests, str);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user