Skip to content

Commit

Permalink
Merge pull request #3 from Local9/fix-fix-logger-debug
Browse files Browse the repository at this point in the history
fix(Logger.Debug): Correctly output debug when debugging is enabled
  • Loading branch information
manups4e authored Sep 11, 2022
2 parents 4501dac + 80e49c8 commit 50af2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FxEvents/Shared/Logger/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async void Info(string text)
/// <param name="text">Text of the message</param>
public async void Debug(string text)
{
if (EventDispatcher.Debug) return;
if (!EventDispatcher.Debug) return;
string timestamp = $"{DateTime.Now:dd/MM/yyyy, HH:mm}";
string errorPrefix = "-- [DEBUG] -- ";
string color = LIGHT_BLUE;
Expand Down

0 comments on commit 50af2ad

Please sign in to comment.