protected void OnLogSendError(LogSendErrorEventArgs e)
        {
            var handler = LogSendError;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 static void OnLogSendError(object sender, LogSendErrorEventArgs logSendErrorEventArgs) {
     Console.WriteLine("Error: {0}", logSendErrorEventArgs.Message);
 }