Closed prodigy closed 2 years ago
Implemented support for output templates. The features works very much like the one from Serilog.Sinks.Console and is strongly inspired by their work.
When no output template is given, the old behaviour is preserved.
An example output template would be:
{Level:e} [{ApplicationName}] {Message:lj}{NewLine}{Exception}
This then, for example, renders as
⚠️ [MyApp] Some strange event occurred.
Wow, nice :) I know the output templates already, but didn't yet think about integrating them. Great work, I will check / test this and add it to the next version soon.
Implemented support for output templates. The features works very much like the one from Serilog.Sinks.Console and is strongly inspired by their work.
When no output template is given, the old behaviour is preserved.
An example output template would be:
This then, for example, renders as