Skip to content

Commit

Permalink
Update Logging.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0Kerbal committed Apr 30, 2023
1 parent a5429d2 commit 2fdfcc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/ScrapYard/Utilities/Logging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ internal static void DebugLog(object msg, LogType type = LogType.INFO)
/// <param name="type">The type of message being logged (severity)</param>
internal static void Log(object msg, LogType type = LogType.INFO)
{
string final = "[ScrapYard] " + msg?.ToString();
string final = "[ScrapYard] " + msg??"<null>".ToString();
// string final = "[ScrapYard] " + msg?.ToString();
if (type == LogType.INFO)
{
Debug.Log(final);
Expand Down

0 comments on commit 2fdfcc0

Please sign in to comment.