private void onLogError(object sender, XbmcJsonRpcLogErrorEventArgs e) { if (this.LogError != null) { this.LogError(this, e); } }
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); }