Skip to content

Commit

Permalink
fix: use correct deprecation az servicebus messages (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnmoreels committed Jul 8, 2022
1 parent 6041e6a commit 1a3900b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static partial class ILoggerExtensions
/// <param name="context">The context that provides more insights on the dependency that was measured.</param>
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="logger"/> or <paramref name="measurement"/> is <c>null</c>.</exception>
/// <exception cref="ArgumentException">Thrown when the <paramref name="topicName"/> is blank.</exception>
[Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
[Obsolete("Use the " + nameof(LogServiceBusTopicDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
public static void LogServiceBusTopicDependency(
this ILogger logger,
string topicName,
Expand Down Expand Up @@ -241,7 +241,7 @@ public static partial class ILoggerExtensions
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="logger"/> is <c>null</c>.</exception>
/// <exception cref="ArgumentException">Thrown when the <paramref name="topicName"/> is blank.</exception>
/// <exception cref="ArgumentOutOfRangeException">Thrown when the <paramref name="duration"/> is a negative time range.</exception>
[Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
[Obsolete("Use the " + nameof(LogServiceBusTopicDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
public static void LogServiceBusTopicDependency(
this ILogger logger,
string topicName,
Expand Down Expand Up @@ -327,7 +327,7 @@ public static partial class ILoggerExtensions
/// <param name="context">The context that provides more insights on the dependency that was measured.</param>
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="logger"/> or <paramref name="measurement"/> is <c>null</c>.</exception>
/// <exception cref="ArgumentException">Thrown when the <paramref name="entityName"/> is blank.</exception>
[Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
[Obsolete("Use the " + nameof(LogServiceBusDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
public static void LogServiceBusDependency(
this ILogger logger,
string entityName,
Expand Down Expand Up @@ -387,7 +387,7 @@ public static partial class ILoggerExtensions
/// <exception cref="ArgumentNullException">Thrown when the <paramref name="logger"/> is <c>null</c>.</exception>
/// <exception cref="ArgumentException">Thrown when the <paramref name="entityName"/> is blank.</exception>
/// <exception cref="ArgumentOutOfRangeException">Thrown when the <paramref name="duration"/> is a negative time range.</exception>
[Obsolete("Use the " + nameof(LogServiceBusQueueDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
[Obsolete("Use the " + nameof(LogServiceBusDependency) + " method overload with an Azure Service Bus namespace endpoint instead")]
public static void LogServiceBusDependency(
this ILogger logger,
string entityName,
Expand Down

0 comments on commit 1a3900b

Please sign in to comment.