aboutsummaryrefslogtreecommitdiff
path: root/RSSDP
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP')
-rw-r--r--RSSDP/SsdpCommunicationsServer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/RSSDP/SsdpCommunicationsServer.cs b/RSSDP/SsdpCommunicationsServer.cs
index 921ef3e51..65ec0ca71 100644
--- a/RSSDP/SsdpCommunicationsServer.cs
+++ b/RSSDP/SsdpCommunicationsServer.cs
@@ -131,7 +131,7 @@ namespace Rssdp.Infrastructure
}
catch (Exception ex)
{
- _logger.LogError("Error in BeginListeningForBroadcasts", ex);
+ _logger.LogError(ex, "Error in BeginListeningForBroadcasts");
}
}
}
@@ -197,7 +197,7 @@ namespace Rssdp.Infrastructure
}
catch (Exception ex)
{
- _logger.LogError("Error sending socket message from {0} to {1}", ex, socket.LocalIPAddress.ToString(), destination.ToString());
+ _logger.LogError(ex, "Error sending socket message from {0} to {1}", socket.LocalIPAddress.ToString(), destination.ToString());
}
}
@@ -376,7 +376,7 @@ namespace Rssdp.Infrastructure
}
catch (Exception ex)
{
- _logger.LogError("Error in CreateSsdpUdpSocket. IPAddress: {0}", ex, address);
+ _logger.LogError(ex, "Error in CreateSsdpUdpSocket. IPAddress: {0}", address);
}
}
}