Showing content from https://github.com/FantasticFiasco/serilog-sinks-http-sample-dotnet-framework below:
FantasticFiasco/serilog-sinks-http-sample-dotnet-framework: Sample application of Serilog.Sinks.Http producing log events in .NET Framework.
Skip to content Navigation Menu
Search code, repositories, users, issues, pull requests...
Saved searches Use saved searches to filter your results more quickly
Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert FantasticFiasco/serilog-sinks-http-sample-dotnet-framework Serilog.Sinks.Http - Sample in .NET Framework
This repository contains a sample application of Serilog.Sinks.Http producing log events sent over HTTP to a basic log server.
- Open
dotnet-framework-sample.sln
is Visual Studio
- Right-click solution is Visual Studio and select Set StartUp Projects...
- Select Multiple startup projects and set action of both log-server and sample to Start
- Click OK
- Press F5 to start debugging
What you will end up with is two console applications, one producing log events while the other consumes the log events.
- The sample application is using a custom implementation of a HTTP client, mainly to show that it is possible to do so. But don't specify a custom implementation if you don't have to.
- The sink is configured in code, but could as well be configured in
App.config
using Serilog.Settings.AppSettings.
About
Sample application of Serilog.Sinks.Http producing log events in .NET Framework.
Topics Resources License Code of conduct Contributing Stars Watchers Forks
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4