From 226cfba02dedbd0515b6b7274f5705c61b8b065e Mon Sep 17 00:00:00 2001 From: byte-0x74 Date: Thu, 21 Apr 2022 18:21:09 +0300 Subject: [PATCH] 1.0.5 Hot-fix changed from string to object to prevent string errors --- EasyLog/Logger.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EasyLog/Logger.cs b/EasyLog/Logger.cs index 05f8a49..5b64e55 100644 --- a/EasyLog/Logger.cs +++ b/EasyLog/Logger.cs @@ -29,7 +29,7 @@ public string ProcessLogText(int level) { return "Please Init logger first! you can init it by calling *YourLogName*.InitLogger();"; } - string text = string.Empty; + object text = string.Empty; switch (level) { case (int)LogLevel.Info: @@ -49,7 +49,7 @@ public string ProcessLogText(int level) text += "ERROR => "; break; } - return text; + return text.ToString(); } public void Debug(object Content)