Skip to content

Commit

Permalink
Merge pull request #447 from Saibamen/write_to_cache
Browse files Browse the repository at this point in the history
Add Trace to LogConsoleDebug()
  • Loading branch information
Saibamen authored Nov 13, 2024
2 parents a3e9df1 + 5c80a46 commit 3a77f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gandalan.IDAS.Logging/Logging/Logger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ public void Log(string message, LogLevel level = LogLevel.Diagnose, LogContext c
}

/// <summary>
/// Write to Console and Debug output. Does not write anything to file.
/// Write to Console, Debug and Trace output. Does not write anything to file.
/// </summary>
/// <param name="message">Message to print</param>
public static void LogConsoleDebug(string message)
{
Debug.WriteLine(message);
Console.WriteLine(message);
Trace.WriteLine(message);
}
}

0 comments on commit 3a77f6f

Please sign in to comment.