Displaying 1 to 16 from 16 results

serilog-aspnetcore - Serilog integration for ASP.NET Core 2+

  •    CSharp

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-sinks-console - Write log events to System.Console as text or JSON, with ANSI theme support

  •    CSharp

A 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-sinks-elasticsearch - A Serilog sink that writes events to Elasticsearch

  •    CSharp

The 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-sinks-seq - A Serilog sink that writes events to the Seq structured log server

  •    CSharp

A 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().




serilog-sinks-splunk - A Serilog sink that writes to Splunk

  •    CSharp

A 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.

serilog-sinks-xamarin - A Serilog sink that writes events to Xamarin mobile targets

  •    CSharp

Writes 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-sinks-http - A Serilog sink sending log events over HTTP.

  •    CSharp

In 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.

Akka.Logger.Serilog - Akka.NET logging integration for Serilog library

  •    CSharp

This is the Serilog integration plugin for Akka.NET. Please check out our documentation on how to get the most out of this plugin.


Serilog

  •    CSharp

Serilog.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-sinks-sentry - A Sentry sink for Serilog

  •    CSharp

A Sentry sink for Serilog. The library is available as a Nuget package.

serilog-sinks-http-sample-elastic-stack - Sample application of Serilog

  •    CSharp

Elastic 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-sinks-udp - A Serilog sink sending UDP packages over the network.

  •    CSharp

In 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.

SerilogAnalyzer - Roslyn-based analysis for code using the Serilog logging library

  •    CSharp

Roslyn-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-sinks-observable - Write Serilog events to observers (Rx) through an IObservable

  •    CSharp

Write Serilog events to observers (Rx) through an IObservable. More information about using Serilog is available in the Serilog Documentation.

clef-tool - A command-line tool for manipulating Compact Log Event Format files

  •    CSharp

The 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.

seq-forwarder - Local collection and reliable forwarding of log data to Seq

  •    CSharp

Seq 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.