User-defined functions in Serilog Expressions

added by DotNetKicks
10/2/2020 2:39:15 AM

666 Views

Yesterday's post introduced Serilog Expressions, a little library for filtering, enriching, and formatting Serilog events. We left open the question of how to show dates and times in UTC. This is a good fit for a user-defined function: writing and plugging-in our own implementation of ToUtc() is the subject of this post.


0 comments