Skip to content
dev
Switch branches/tags
Go to file
Code

README.md

The colored console sink for Serilog

Build status NuGet Version

Writes to the system console, using colour to emphasise levels and to highlight structured data within log messages.

This package is being retired

The features of this sink have now been merged into the default Serilog console sink. We recommend using the console sink instead.

Getting started

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.