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