Skip to content

Conversation

nblumhardt
Copy link
Member

nblumhardt and others added 11 commits June 10, 2024 08:10
- assert that UtcTimestamp in default format (no custom format string) renders without the +00:00 time-zone suffix.

Relates to #164
…standard formating

- keep render performance in mind / i.e. keep optimizations from #134
- ensure UtcTimestamp without format string is rendered without " +00:00" suffix by rendering as DateTime (same behavior as Serilog's MessageTemplateTextFormatter)

Relates to #164
…n enhanced

- round-trip standard format string added to tests
- for Timestamp the +00:00 format is expected, for UtcTimestamp the Z suffix is expected

Relates to #164
… Theory to improve maintainability

For better maintainability the multi-line strings with several tokens and formats of Fact unit tests are replaced by Theory with InlineData for better maintainability/readability.

Relates to #164
Support UtcTimestamp token in output template (new since Serilog 4.0)
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