Serilog.Sinks.LogtailSysBlazor
0.0.6
See the version list below for details.
dotnet add package Serilog.Sinks.LogtailSysBlazor --version 0.0.6
NuGet\Install-Package Serilog.Sinks.LogtailSysBlazor -Version 0.0.6
<PackageReference Include="Serilog.Sinks.LogtailSysBlazor" Version="0.0.6" />
paket add Serilog.Sinks.LogtailSysBlazor --version 0.0.6
#r "nuget: Serilog.Sinks.LogtailSysBlazor, 0.0.6"
// Install Serilog.Sinks.LogtailSysBlazor as a Cake Addin #addin nuget:?package=Serilog.Sinks.LogtailSysBlazor&version=0.0.6 // Install Serilog.Sinks.LogtailSysBlazor as a Cake Tool #tool nuget:?package=Serilog.Sinks.LogtailSysBlazor&version=0.0.6
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 Tools → NuGet Package Manager → Package 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 | Versions 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. |
-
net7.0
- Serilog (>= 2.12.0)
- Serilog.Sinks.PeriodicBatching (>= 3.1.0)
- System.Text.Json (>= 7.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.