CXuesong / Serilog.Sinks.Discord

A simple WIP Discord logging sink for Serilog.
Apache License 2.0
1 stars 0 forks source link

Allow setting a minimum LogEventLevel #2

Closed th0mk closed 4 years ago

th0mk commented 4 years ago

In the seq and console sink, you can pass a minimum LogEventLevel:

Log.Logger = new LoggerConfiguration()
                .WriteTo.Console(LogEventLevel.Error)
                .WriteTo.Seq("http://localhost:5341", LogEventLevel.Debug)

It would be nice if this was also possible for this Discord sink.

CXuesong commented 4 years ago

Released v0.5.0. Please post here if you come across any issue.

th0mk commented 4 years ago

Thank you, this works great.