Skip to content

Conversation

Arkatufus
Copy link
Contributor

Changes

  • Use Serilog internal formatter to properly format log messages

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, as far as I know - but can we get some snapshot tests with Verify on Akka.NET v1.4 (separate PR) and then bring it into dev ? That way we know if we're moving someone else's cheese around with this change.

@Arkatufus
Copy link
Contributor Author

@Aaronontheweb #257

/// </returns>
public string Format(string format, params object[] args)
{
if (Log.Logger.BindMessageTemplate(format, args, out var boundTemplate, out var boundProps))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment explaining what this does and how the fallback mechanism works

@Arkatufus Arkatufus enabled auto-merge (squash) August 30, 2023 23:49
@Arkatufus Arkatufus merged commit 9cdd935 into akkadotnet:dev Aug 30, 2023
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.

2 participants