private static void HandleLogEntry(Logger.LogEntry entry) { if (Debugger.IsAttached) { Debug.WriteLine(entry.ToString()); } }
private static void HandleLogEntry(Logger.LogEntry entry) { // we're just going to echo the logs to the debug output pane in the VS IDE, but you could append them to a file or re-route them into whatever log system you use if (Debugger.IsAttached) { Debug.WriteLine(entry.ToString()); } }
private static void HandleLogEntry(Logger.LogEntry entry) { // write log message to debug output window in VS if (Debugger.IsAttached) { Debug.WriteLine(entry.ToString()); } }