Skip to content

Conversation

@Aaronontheweb
Copy link
Member

@Aaronontheweb Aaronontheweb commented Jun 17, 2024

1.5.25 June 17 2024

As of Akka.Logger.Serilog v1.5.25, you can now do the following:

var log = Context.GetLogger()
    .ForContext("Address", "No. 4 Privet Drive")
    .ForContext("Town", "Little Whinging")
    .ForContext("County", "Surrey")
    .ForContext("Country", "England");
log.Info("My boss makes me use {Semantic} logging", "semantic");

And it will work without having to explicitly call Context.GetLogger<SerilogLoggingAdapter>() first.

close #290

@Aaronontheweb
Copy link
Member Author

cc @ilyatch

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) June 17, 2024 15:21
@Aaronontheweb Aaronontheweb disabled auto-merge June 17, 2024 15:21
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) June 17, 2024 15:22
@Aaronontheweb Aaronontheweb merged commit 9fab728 into akkadotnet:dev Jun 17, 2024
@Aaronontheweb Aaronontheweb deleted the v1.5.24-release-notes branch June 17, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can a new release be made and published to nuget to match Akka.net 1.5.22?

1 participant