1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 23:50:29 +01:00

Created new Logger class to automatically display Trivial or TrivialDebug messages based on program's build state.

This commit is contained in:
Rich Dunne 2020-09-14 11:31:30 -06:00
parent f200a7bf22
commit 3ebe712148
2 changed files with 17 additions and 1 deletions

16
SceneManager/Logger.cs Normal file
View file

@ -0,0 +1,16 @@
using Rage;
namespace SceneManager
{
class Logger
{
public static void Log(string message)
{
#if DEBUG
Game.LogTrivialDebug($"{message}");
#else
Game.LogTrivial($"{message}");
#endif
}
}
}