Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
1.0.5 Hot-fix changed from string to object to prevent string errors
Browse files Browse the repository at this point in the history
  • Loading branch information
atomsk-0 committed Apr 21, 2022
1 parent c92f120 commit 226cfba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EasyLog/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -49,7 +49,7 @@ public string ProcessLogText(int level)
text += "ERROR => ";
break;
}
return text;
return text.ToString();
}

public void Debug(object Content)
Expand Down

0 comments on commit 226cfba

Please sign in to comment.