Beispiel #1
0
 private void onLogError(object sender, XbmcJsonRpcLogErrorEventArgs e)
 {
     if (this.LogError != null)
     {
         this.LogError(this, e);
     }
 }
Beispiel #2
0
        private static void wrapperApiXbmcLogError(object sender, XbmcJsonRpcLogErrorEventArgs e)
        {
            if (e.Exception != null && e.Exception is SocketException)
            {
                // We don't want to fill the error log with SocketExceptions
                return;
            }

            Logging.Error("XBMC", e.Message, e.Exception);
        }
 private void onLogError(object sender, XbmcJsonRpcLogErrorEventArgs e)
 {
     if (this.LogError != null)
     {
         this.LogError(this, e);
     }
 }