Serilog logging for ASP.NET Core. This package routes ASP.NET Core log messages through Serilog, so you can get information about ASP.NET's internal operations logged to the same Serilog sinks as your application events.First, install the Serilog.AspNetCore NuGet package into your app. You will need a way to view the log messages - Serilog.Sinks.Console writes these to the console; there are many more sinks available on NuGet.
serilog aspnetcore aspnet-coreA Serilog sink that writes log events to the Windows Console or an ANSI terminal via standard output. Coloring and custom themes are supported, including ANSI 256-color themes on macOS, Linux and Windows 10. The default output is plain text; JSON formatting can be plugged in using a package such as Serilog.Formatting.Compact.Adding a new theme is straightforward; examples can be found in the SystemConsoleThemes and AnsiConsoleThemes classes.
serilog-sink serilogThe Serilog Elasticsearch sink project is a sink (basically a writer) for the Serilog logging framework. Structured log events are written to sinks and each sink is responsible for writing it to its own backend, database, store etc. This sink delivers the data to Elasticsearch, a NoSQL search engine. It does this in a similar structure as Logstash and makes it easy to use Kibana for visualizing your logs.Register the sink in code or using the appSettings reader (from v2.0.42+) as shown below.
serilog-sink elasticsearch serilogA Serilog sink that writes events to the Seq structured log server. Supports .NET 4.5+, .NET Core, and platforms compatible with the .NET Platform Standard 1.1 including Windows 8 & UWP, Windows Phone and Xamarin.The sink can take advantage of Seq's API keys to authenticate clients and dynamically attach properties to events at the server-side. To use an API key, specify it in the apiKey parameter of WriteTo.Seq().
seq serilog serilog-sinkA Serilog sink that writes events to the Splunk. Supports .NET 4.5+, .NET Core, and platforms compatible with the .NET Platform Standard 1.1 including Windows 8 & UWP, Windows Phone and Xamarin.More information is available on the wiki.
splunk serilog serilog-sinkWrites Serilog events to the console of Xamarin.iOS (NSLog) / Xamarin.Android (AndroidLog).Because the memory buffer may contain events that have not yet been written to the target sink, it is important to call Log.CloseAndFlush() or Logger.Dispose() when the application/activity exits.
serilog-sink xamarin android ios serilogIn the following example, the sink will POST log events to www.mylogs.com over HTTP.The sink can also be configured to be durable, i.e. log events are persisted on disk before sending them over the network, thus protecting against data loss after a system or process restart. For more information read the wiki.
serilog sink httpThis is the Serilog integration plugin for Akka.NET. Please check out our documentation on how to get the most out of this plugin.
serilog akka akkadotnetSerilog.Exceptions is an add-on to Serilog to log exception details and custom properties that are not output in Exception.ToString(). Your JSON logs will now be supplemented with detailed exception information and even custom exception properties. Here is an example of what happens when you log a DbEntityValidationException from EntityFramework (This exception is notorious for having deeply nested custom properties which are not included in the .ToString()).
serilog nuget logging exception reflection dotnet-core c-sharpA Sentry sink for Serilog. The library is available as a Nuget package.
serilog sentryElastic Stack is fantastic at collecting and visualizing log events. Serilog is fantastic at producing structured log events. This repository provides a sandbox where developers can explore the life of a log event starting with its birth in Serilog, its transport over the network to Logstash, its fields being indexed by Elasticsearch and finally its legacy being recorded as a historical event in Kibana. With a running Elastic Stack and Serilog producing log events you are now ready to take it to the next level. If you fancy the producing part you'll dig deeper into Serilog and its configuration of log contexts, enrichers and message formatters. If you enjoy monitoring applications in production you'll explore Kibana with its visualizations and dashboards.
serilog elastic-stack logstash elasticsearch kibana elkIn the following example, the sink will send UDP packages on the network to localhost on port 7071. Configuration using Serilog.Settings.Configuration enables the possibility to specify a hostname instead of an IP address as the remote address.
serilog udpRoslyn-based analysis for code using the Serilog logging library. Checks for common mistakes and usage problems. Checks that exceptions are passed to the exception argument, and not as a normal property, with a code fix to correct it.
serilog roslyn analysis refactor visual-studio analyzerWrite Serilog events to observers (Rx) through an IObservable. More information about using Serilog is available in the Serilog Documentation.
serilog rxThe clef command-line tool reads and processes the newline-delimited JSON streams produced by Serilog.Formatting.Compact and other sources. CLEF is a very simple, compact JSON event format with standardized fields for timestamps, messages, levels and so-on.
serilog seq jsonSeq Forwarder is a client-side tool for sending log data to Seq. Seq Forwarder can run as a Windows service on client machines. It receives events over a local HTTP API and persists these to its own internal storage until the remote Seq server can be reached.
seq serilog
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.