Skip to content

merbla/serilog-enrichers-process

 
 

Repository files navigation

Serilog.Enrichers.Process

The process enricher for Serilog.

Build status NuGet Version

To use the enricher, first install the NuGet package:

Install-Package Serilog.Enrichers.Process

Then add Enrich.WithProcess() 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.

About

The process enricher for Serilog.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 78.2%
  • PowerShell 21.8%