https://github.com/serilog/serilog-sinks-trace
The diagnostic trace sink for Serilog.
https://github.com/serilog/serilog-sinks-trace
Last synced: 3 months ago
JSON representation
The diagnostic trace sink for Serilog.
- Host: GitHub
- URL: https://github.com/serilog/serilog-sinks-trace
- Owner: serilog
- License: apache-2.0
- Created: 2016-03-09T06:08:18.000Z (over 9 years ago)
- Default Branch: dev
- Last Pushed: 2024-06-09T22:34:59.000Z (about 1 year ago)
- Last Synced: 2025-03-26T19:03:43.156Z (3 months ago)
- Language: C#
- Size: 75.2 KB
- Stars: 13
- Watchers: 8
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
# Serilog.Sinks.Trace [](https://ci.appveyor.com/project/serilog/serilog-sinks-trace/branch/master) [](https://www.nuget.org/packages/Serilog.Sinks.Trace/)
> **Note:** this sink writes regular log events to `System.Diagnostics.Trace`. If you're looking for
> distributed/hierarchical tracing with Serilog, see [SerilogTracing](https://github.com/serilog-tracing/serilog-tracing)
> instead.Writes [Serilog](https://serilog.net) events to `System.Diagnostics.Trace`.
```csharp
var log = new LoggerConfiguration()
.WriteTo.Trace()
.CreateLogger();
```* [Documentation](https://github.com/serilog/serilog/wiki)
_Copyright © Serilog Contributors - Provided under the [Apache License, Version 2.0](http://apache.org/licenses/LICENSE-2.0.html)._