Writes to the system console, using colour to emphasise levels and to highlight structured data within log messages. Makes the ordinary console sink look ordinary! (See also: Literate Console)
var log = new LoggerConfiguration()
.WriteTo.ColoredConsole()
.CreateLogger();
Or in XML app-settings format:
<add key="serilog:write-to:ColoredConsole" />
Copyright © 2016 Serilog Contributors - Provided under the Apache License, Version 2.0.