fixed log tag
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40306
This commit is contained in:
parent
4a1c111350
commit
0182ef0d5f
@ -48,7 +48,7 @@ void CLogger::_NewMapFile()
|
||||
FILE *fp = fopen(m_NrmFileName.c_str(), "w");
|
||||
if (!fp)
|
||||
{
|
||||
g_SMAPI->ConPrint("[SM] Unexpected fatal logging error. SourceMod logging disabled.\n");
|
||||
g_SMAPI->ConPrint("[SOURCEMOD] Unexpected fatal logging error. SourceMod logging disabled.\n");
|
||||
m_Active = false;
|
||||
return;
|
||||
} else {
|
||||
@ -207,7 +207,7 @@ void CLogger::LogMessage(const char *vafmt, ...)
|
||||
g_SMAPI->ConPrintf("L %s: %s\n", date, msg);
|
||||
return;
|
||||
print_error:
|
||||
g_SMAPI->ConPrint("[SM] Unexpected fatal logging error. SourceMod logging disabled.\n");
|
||||
g_SMAPI->ConPrint("[SOURCEMOD] Unexpected fatal logging error. SourceMod logging disabled.\n");
|
||||
m_Active = false;
|
||||
}
|
||||
|
||||
@ -252,7 +252,7 @@ void CLogger::LogError(const char *vafmt, ...)
|
||||
fprintf(fp, "L %s: %s\n", date, msg);
|
||||
fclose(fp);
|
||||
} else {
|
||||
g_SMAPI->ConPrint("[SM] Unexpected fatal logging error. SourceMod logging disabled.\n");
|
||||
g_SMAPI->ConPrint("[SOURCEMOD] Unexpected fatal logging error. SourceMod logging disabled.\n");
|
||||
m_Active = false;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user