Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 1b561aa

Browse files
committed
fixing logging bug.
1 parent 24422d9 commit 1b561aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Program.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ private static void Print(LogLevel level, string txt)
274274
{
275275
Console.WriteLine("{0} - {1}", DateTime.Now.ToString("hh:mm:ss"), txt);
276276
}
277+
else if (level == LogLevel.Debug && !DEBUG_MODE)
278+
{
279+
return;
280+
}
277281
else if (level == LogLevel.Debug && DEBUG_MODE)
278282
{
279283
Console.WriteLine("DEBUG\t{0} - {1}", DateTime.Now.ToString("hh:mm:ss"), txt);

0 commit comments

Comments
 (0)