An open API service indexing awesome lists of open source software.

https://github.com/aimenux/consoleloggingdemo

Using multiple logging frameworks (native and third party) in console applications
https://github.com/aimenux/consoleloggingdemo

application-insights console-app net80 nlog serilog

Last synced: over 1 year ago
JSON representation

Using multiple logging frameworks (native and third party) in console applications

Awesome Lists containing this project

README

          

[![.NET](https://github.com/aimenux/ConsoleLoggingDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/ConsoleLoggingDemo/actions/workflows/ci.yml)

# ConsoleLoggingDemo
```
Using multiple logging frameworks (native and third party) in console applications
```

> In this repo, i m using multiple logging frameworks in order to enable logging in console applications.
>
> Logging frameworks used in the demo are :
>
>> :pushpin: Native microsoft tooling
>>
>> :pushpin: Serilog third party tooling
>>
>> :pushpin: NLog third party tooling
>
> For Native and Serilog frameworks, i m providing two configuration ways :
>
>> :writing_hand: `Json` : json config driven way
>>
>> :writing_hand: `Fluent` : hard code driven way
>>
> For NLog framework, i m providing one configuration way :
>
>> :writing_hand: `xml` : xml config driven way
>>
>
> Logging targets used in the demo are :
>
>> :pushpin: file target
>>
>> :pushpin: console target
>>
>> :pushpin: application insights target
>

**`Tools`** : net 8.0, nlog, serilog