You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/list-of-diagnostics.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ You may continue using obsolete APIs in your application, but we advise explorin
51
51
| Diagnostic ID | Description |
52
52
| :---------------- | :---------- |
53
53
|`EXTOBS0001`| This API is obsolete and will be removed in a future version. Consider using [Resource Monitoring observable instruments](https://learn.microsoft.com/dotnet/core/diagnostics/built-in-metrics-diagnostics#microsoftextensionsdiagnosticsresourcemonitoring). |
54
+
|`EXTOBS0002`| This API is obsolete and will be removed in a future version. Instead of the AddServiceLogEnricher() methods, consider using the respective AddApplicationLogEnricher() methods. |
/// Adds an instance of the service enricher to the <see cref="IServiceCollection"/>.
46
+
/// </summary>
47
+
/// <param name="services">The <see cref="IServiceCollection"/> to add the service enricher to.</param>
48
+
/// <param name="section">The <see cref="IConfigurationSection"/> to use for configuring <see cref="ApplicationLogEnricherOptions"/> in the service enricher.</param>
49
+
/// <returns>The value of <paramref name="services"/>.</returns>
50
+
/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception>
@@ -45,13 +87,13 @@ public static IServiceCollection AddServiceLogEnricher(this IServiceCollection s
45
87
}
46
88
47
89
/// <summary>
48
-
/// Adds an instance of the service enricher to the <see cref="IServiceCollection"/>.
90
+
/// Adds an instance of the application enricher to the <see cref="IServiceCollection"/>.
49
91
/// </summary>
50
-
/// <param name="services">The <see cref="IServiceCollection"/> to add the service enricher to.</param>
51
-
/// <param name="section">The <see cref="IConfigurationSection"/> to use for configuring <see cref="ApplicationLogEnricherOptions"/> in the service enricher.</param>
92
+
/// <param name="services">The <see cref="IServiceCollection"/> to add the application enricher to.</param>
93
+
/// <param name="section">The <see cref="IConfigurationSection"/> to use for configuring <see cref="ApplicationLogEnricherOptions"/> in the application enricher.</param>
52
94
/// <returns>The value of <paramref name="services"/>.</returns>
53
95
/// <exception cref="ArgumentNullException">Any of the arguments is <see langword="null"/>.</exception>
Enriches logs with application-specific information based on `ApplicationMetadata` information. The bellow calls will add the service log enricher to the service collection.
131
+
Enriches logs with application-specific information based on `ApplicationMetadata` information. The bellow calls will add the application log enricher to the service collection.
internalconststringNonObservableResourceMonitoringApiMessage="This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.";
"This API is obsolete and will be removed in a future version. Consider using Resource Monitoring observable instruments.";
129
+
internalconststringObsoleteTelemetryApiMessage=
130
+
"This API is obsolete and will be removed in a future version. Instead of the AddServiceLogEnricher() methods, consider using the respective AddApplicationLogEnricher() methods.";
0 commit comments