Custom output templates
Prerequisites: install formatting module, use one of text-based logs (console or file).
Constructing custom templates
There are two ways to obtain a custom template:
Parse it from an arbitrary string:
Use
OutputTemplateBuilder
to construct it in code:
Passing to a log instance
Custom output templates can be passed to text-based logs as parameters in their respective settings:
Last updated