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 1050 dni, 4 godziny, 58 minut temu Piotr Stapp 24 pokaż kod licznika zwiń

Wczytywanie artykułów...

Najaktywniejsi w tym miesiącu