Strona głównaNarzędzia

TL;DR: Everything you need to know about formatting plain text with Serilog.Expressions, by example. There are endless ways to format log output. With Serilog’s built-in “output templates”, you can choose the fields and text to include in log output, and use .NET format string-style alignment and width syntax, but that’s about it. Serilog.Expressions is a fairly new library that plugs in to enable everything else. This post collects the plain text formatting questions I’ve fielded over the years, and t...

Tagi: serilog
Źródło: nblumhardt.com
Dziel się z innymi:
Customizing Serilog text output

Narzędzia 1246 dni, 19 godzin, 13 minut temu Piotr Stapp 28 pokaż kod licznika zwiń

Wczytywanie artykułów...