Serilog.Sinks.LogtailSysBlazor 0.0.9

dotnet add package Serilog.Sinks.LogtailSysBlazor --version 0.0.9                
NuGet\Install-Package Serilog.Sinks.LogtailSysBlazor -Version 0.0.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Serilog.Sinks.LogtailSysBlazor" Version="0.0.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serilog.Sinks.LogtailSysBlazor --version 0.0.9                
#r "nuget: Serilog.Sinks.LogtailSysBlazor, 0.0.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Serilog.Sinks.LogtailSysBlazor as a Cake Addin
#addin nuget:?package=Serilog.Sinks.LogtailSysBlazor&version=0.0.9

// Install Serilog.Sinks.LogtailSysBlazor as a Cake Tool
#tool nuget:?package=Serilog.Sinks.LogtailSysBlazor&version=0.0.9                

NuGet

A Serilog sink that logs events to logtail.

Getting started

This project is a fork of : https://github.com/Nickztar/Serilog.Sinks.LogtailSys

Install the Serilog.Sinks.LogtailSysBlazor package from NuGet:

Using Package Manager In Visual Studio, open NuGet Package Manager Console by clicking ToolsNuGet Package ManagerPackage Manager Console

In the console run the following command:

Install-Package Serilog.Sinks.LogtailSysBlazor

Optionally using Dotnet CLI

dotnet add package Serilog.Sinks.LogtailSysBlazor

To start logging you need to setup a rsyslog source in Logtail, please use their documentation for this. Logtail - Getting started

To configure the sink to write messages to logtail, call WriteTo.Logtail() with your logtail token during logger configuration:

var log = new LoggerConfiguration()
    .WriteTo.Logtail(token: "$SOURCE_TOKEN")
    .CreateLogger();

A number of optional parameters are available for more advanced configurations, see doc tags for more information.

NOTE: Project is in no way associated with Logtail or Serilog

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.9 235 8/3/2023
0.0.8 184 8/3/2023
0.0.7 173 8/3/2023
0.0.6 180 7/28/2023
0.0.2 203 7/27/2023 0.0.2 is deprecated because it has critical bugs.
0.0.1 179 7/27/2023 0.0.1 is deprecated because it has critical bugs.

- v0.0.7 Update the format of the outputed json
- v0.0.8 Add ability to change the ingestion endpoint
- v0.0.9 Capture enrichements and put them in a field called properties in the json, get the proper os platform, token and appname parameters are now mandatory