Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 942 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 942 Bytes

Serilog.Sinks.Trace Build status NuGet Version

Note: this sink writes regular log events to System.Diagnostics.Trace. If you're looking for distributed/hierarchical tracing with Serilog, see SerilogTracing instead.

Writes Serilog events to System.Diagnostics.Trace.

var log = new LoggerConfiguration()
    .WriteTo.Trace()
    .CreateLogger();

Copyright © Serilog Contributors - Provided under the Apache License, Version 2.0.