Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion nanoFramework.Logging/DebugLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public void Log(LogLevel logLevel, EventId eventId, string state, Exception exce
msg = (string)format.Invoke(null, new object[] { LoggerName, logLevel, eventId, state, exception });
}

System.Diagnostics.Debug.WriteLine(msg);
// need to use Console.WriteLine to have this working on both Debug and Release flavours
Console.WriteLine(msg);
}
}
}
Expand Down