Rewrite logger to account for multiple-threads.

Implement error handling for worker VMs.
This commit is contained in:
Sandu Liviu Catalin committed 2020-09-08 22:44:04 +03:00
1 parent 054a7983a5
commit d6f3f52eec
8 files changed
+482 -178

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ namespace SqMod {
*/ catch (const Sqrat::Exception & e) /*
*/ { /*
*/ LogErr("Squirrel exception caught " action); /*
*/ Logger::Get().Debug("%s", e.what()); /*
*/ Logger::Get().DebugF(SqVM(), "%s", e.what()); /*
*/ } /*
*/