Skip to content

Commit 9fab728

Browse files
added v1.5.25 release notes (#293)
1 parent 8f4895d commit 9fab728

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

RELEASE_NOTES.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
#### 1.5.25 June 17 2024 ####
2+
3+
* [Update Akka.Hosting to 1.5.25](https://github.com/akkadotnet/akka.net/releases/tag/1.5.25)
4+
* [implicitly convert regular `BusLogger` to `SerilogLoggingAdapter` when `ForContext` is called](https://github.com/akkadotnet/Akka.Logger.Serilog/pull/285)
5+
6+
As of Akka.Logger.Serilog v1.5.25, you can now do the following:
7+
8+
```csharp
9+
var log = Context.GetLogger()
10+
.ForContext("Address", "No. 4 Privet Drive")
11+
.ForContext("Town", "Little Whinging")
12+
.ForContext("County", "Surrey")
13+
.ForContext("Country", "England");
14+
log.Info("My boss makes me use {Semantic} logging", "semantic");
15+
```
16+
17+
And it will work without having to explicitly call `Context.GetLogger<SerilogLoggingAdapter>()` first.
18+
119
#### 1.5.12.1 August 31 2023 ####
220

321
* [Update Akka.Hosting to 1.5.12.1](https://github.com/akkadotnet/Akka.Hosting/releases/tag/1.5.12.1)

src/Directory.Build.props

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,19 @@
33
<PackageTags>akka;actors;actor model;Akka;concurrency;serilog</PackageTags>
44
<Copyright>Copyright © 2013-2023 Akka.NET Team</Copyright>
55
<Authors>Akka.NET Team</Authors>
6-
<PackageReleaseNotes>[Update Akka.Hosting to 1.5.12.1](https://github.com/akkadotnet/Akka.Hosting/releases/tag/1.5.12.1)</PackageReleaseNotes>
7-
<VersionPrefix>1.5.12.1</VersionPrefix>
6+
<PackageReleaseNotes>[Update Akka.Hosting to 1.5.25](https://github.com/akkadotnet/akka.net/releases/tag/1.5.25)
7+
[implicitly convert regular `BusLogger` to `SerilogLoggingAdapter` when `ForContext` is called](https://github.com/akkadotnet/Akka.Logger.Serilog/pull/285)
8+
As of Akka.Logger.Serilog v1.5.25, you can now do the following:
9+
```csharp
10+
var log = Context.GetLogger()
11+
.ForContext("Address", "No. 4 Privet Drive")
12+
.ForContext("Town", "Little Whinging")
13+
.ForContext("County", "Surrey")
14+
.ForContext("Country", "England");
15+
log.Info("My boss makes me use {Semantic} logging", "semantic");
16+
```
17+
And it will work without having to explicitly call `Context.GetLogger&lt;SerilogLoggingAdapter&gt;()` first.</PackageReleaseNotes>
18+
<VersionPrefix>1.5.25</VersionPrefix>
819
<PackageProjectUrl>https://github.com/akkadotnet/Akka.Logger.Serilog</PackageProjectUrl>
920
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1021
<NoWarn>$(NoWarn);CS1591</NoWarn>
@@ -29,4 +40,4 @@
2940
<ItemGroup>
3041
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
3142
</ItemGroup>
32-
</Project>
43+
</Project>

0 commit comments

Comments
 (0)