private static void _listener_MessageLogged(object sender, LogEventArgs e)
 {
     if (_logging)
     {
         Console.WriteLine(e.Message);
     }
 }
Exemple #2
0
 void listener_LogMessage(object sender, LogEventArgs e)
 {
     Log(e.Message);
 }