The process enricher for Serilog.
To use the enricher, first install the NuGet package:
Install-Package Serilog.Enrichers.Process
Then add Enrich.WithProcessId()
and/or .WithProcessName()
to the LoggerConfiguration()
:
Log.Logger = new LoggerConfiguration() .WriteTo.Console() .Enrich.WithProcessId() .Enrich.WithProcessName() .CreateLogger();
Copyright © 2016 Serilog Contributors - Provided under the Apache License, Version 2.0.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4