serilog/serilog-enrichers-process

Name: serilog-enrichers-process

Owner: Serilog

Description: The process enricher for Serilog.

Created: 2016-03-09 06:14:23.0

Updated: 2017-11-16 10:46:37.0

Pushed: 2017-05-29 04:42:02.0

Homepage: null

Size: 27

Language: C#

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Serilog.Enrichers.Process

The process enricher for Serilog.

Build status NuGet Version

To use the enricher, first install the NuGet package:

all-Package Serilog.Enrichers.Process

Then add Enrich.WithProcess() and/or .WithProcessName() to the LoggerConfiguration():

Logger = new LoggerConfiguration()
.WriteTo.Console()
.Enrich.WithProcessId()
.Enrich.WithProcessName()
.CreateLogger();

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.