Created Def.LogDisplay for displaying messages in a log. Changed error reporting layer to use Def.LogDisplay. Changed engine error reporting to not clip errors to a single line.

This commit is contained in:
Kyzentun
2014-07-18 16:29:46 -06:00
parent 8a65dfaefa
commit a2e6d186e3
8 changed files with 418 additions and 185 deletions
+2 -2
View File
@@ -1054,7 +1054,7 @@ class DebugLineToggleErrors : public IDebugLine
virtual RString GetPageName() const { return "Theme"; }
virtual void DoAndLog( RString &sMessageOut )
{
Message msg("ToggleErrors");
Message msg("ToggleScriptError");
MESSAGEMAN->Broadcast(msg);
IDebugLine::DoAndLog(sMessageOut);
}
@@ -1068,7 +1068,7 @@ class DebugLineClearErrors : public IDebugLine
virtual RString GetPageName() const { return "Theme"; }
virtual void DoAndLog( RString &sMessageOut )
{
Message msg("ClearErrors");
Message msg("ClearScriptError");
MESSAGEMAN->Broadcast(msg);
IDebugLine::DoAndLog(sMessageOut);
}