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
- Host: GitHub
- URL: https://github.com/aimenux/consoleloggingdemo
- Owner: aimenux
- Created: 2021-02-22T11:12:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-15T21:22:04.000Z (over 1 year ago)
- Last Synced: 2025-01-10T00:24:19.657Z (over 1 year ago)
- Topics: application-insights, console-app, net80, nlog, serilog
- Language: C#
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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