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