Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

serilog-archive/serilog-sinks-coloredconsole

Repository files navigation

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.