Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 763 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 763 Bytes

serilog-sinks-redis

NuGet Version Build status

A Serilog sink that writes events a Redis channel.

Package - Serilog.Sinks.Redis | Platforms - .NET 4.5

var config = new RedisConfiguration()
config.Host = "elk.example.net:6379"
config.MetaProperties.Add( "_index_name", "MyElasticsearchIndex" );

var logger = new LoggerConfiguration()
    .WriteTo.Redis( config )
    .CreateLogger();