Skip to content

Serilog style logging for Microsoft.Extensions.Logging

License

Notifications You must be signed in to change notification settings

jukkahyv/mel-scoped-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microsoft.Extensions.Logging scoped logger

Extends MEL ILogger with context/scope chaining features similar to Serilog.

Installation

PM> Install-Package Rapal.ScopedLogger

Usage

ILogger logger = _log.ForContext("MyProp", "MyValue");
logger.LogInformation("Hello world!"); // MyProp=MyValue included in scope

About

Serilog style logging for Microsoft.Extensions.Logging

Topics

Resources

License

Stars

Watchers

Forks

Languages