Skip to content

Commit a120755

Browse files
reyangCodeBlanch
andauthored
[repo] Bump Microsoft.Extensions.Telemetry.Abstractions to 8.2.0 (#5362)
Co-authored-by: Mikel Blanchard <[email protected]>
1 parent 99a394c commit a120755

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="[8.0.0,)" />
8282
<PackageVersion Include="Microsoft.Extensions.Http" Version="[8.0.0,)" />
8383
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="[8.0.0,)" />
84-
<PackageVersion Include="Microsoft.Extensions.Telemetry.Abstractions" Version="[8.1.0,)" />
84+
<PackageVersion Include="Microsoft.Extensions.Telemetry.Abstractions" Version="[8.2.0,)" />
8585
<PackageVersion Include="Microsoft.NETFramework.ReferenceAssemblies" Version="[1.0.3,2.0)" />
8686
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="[17.8.0,18.0.0)" />
8787
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="[1.1.1,2.0)" />

docs/logs/complex-objects/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// This will flush the remaining logs and shutdown the logging pipeline.
3030
loggerFactory.Dispose();
3131

32-
public static partial class ApplicationLogs
32+
internal static partial class LoggerExtensions
3333
{
3434
[LoggerMessage(LogLevel.Critical)]
3535
public static partial void FoodRecallNotice(

docs/logs/complex-objects/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ that the following code is added which uses the `LogPropertiesAttribute` to log
4949
the `FoodRecallNotice` object:
5050

5151
```csharp
52-
public static partial class ApplicationLogs
52+
internal static partial class LoggerExtensions
5353
{
5454
[LoggerMessage(LogLevel.Critical)]
5555
public static partial void FoodRecallNotice(
@@ -89,6 +89,8 @@ LogRecord.Attributes (Key:Value):
8989
ProductType: Food & Beverages
9090
ProductDescription: Salads
9191
BrandName: Contoso
92+
LogRecord.EventId: 252550133
93+
LogRecord.EventName: FoodRecallNotice
9294
```
9395

9496
> [!NOTE]

0 commit comments

Comments
 (0)