Consolidate 'LogType' Quest logs over to 'LogCategory'

This commit is contained in:
Akkadius
2015-01-18 01:32:57 -06:00
parent ec7fd9b4e7
commit 40d0fba63f
2 changed files with 17 additions and 17 deletions
+5 -5
View File
@@ -140,12 +140,12 @@ void Embperl::DoInit() {
catch(const char *err)
{
//remember... lasterr() is no good if we crap out here, in construction
Log.Log(EQEmuLogSys::Quest, "perl error: %s", err);
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::Quests, "perl error: %s", err);
throw "failed to install eval_file hook";
}
#ifdef EMBPERL_IO_CAPTURE
Log.Log(EQEmuLogSys::Quest, "Tying perl output to eqemu logs");
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::Quests, "Tying perl output to eqemu logs");
//make a tieable class to capture IO and pass it into EQEMuLog
eval_pv(
"package EQEmuIO; "
@@ -170,14 +170,14 @@ void Embperl::DoInit() {
,FALSE
);
Log.Log(EQEmuLogSys::Quest, "Loading perlemb plugins.");
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::Quests, "Loading perlemb plugins.");
try
{
eval_pv("main::eval_file('plugin', 'plugin.pl');", FALSE);
}
catch(const char *err)
{
Log.Log(EQEmuLogSys::Quest, "Warning - plugin.pl: %s", err);
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::Quests, "Warning - plugin.pl: %s", err);
}
try
{
@@ -195,7 +195,7 @@ void Embperl::DoInit() {
}
catch(const char *err)
{
Log.Log(EQEmuLogSys::Quest, "Perl warning: %s", err);
Log.DebugCategory(EQEmuLogSys::General, EQEmuLogSys::Quests, "Perl warning: %s", err);
}
#endif //EMBPERL_PLUGIN
in_use = false;