예제 #1
0
 private static void HandleLogEntry(Logger.LogEntry entry)
 {
     if (Debugger.IsAttached)
     {
         Debug.WriteLine(entry.ToString());
     }
 }
예제 #2
0
 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());
     }
 }
예제 #3
0
 private static void HandleLogEntry(Logger.LogEntry entry)
 {
     // write log message to debug output window in VS
     if (Debugger.IsAttached)
     {
         Debug.WriteLine(entry.ToString());
     }
 }