Serilog.Sinks.MFilesSysUtilsEventLog
1.0.0
See the version list below for details.
dotnet add package Serilog.Sinks.MFilesSysUtilsEventLog --version 1.0.0
NuGet\Install-Package Serilog.Sinks.MFilesSysUtilsEventLog -Version 1.0.0
<PackageReference Include="Serilog.Sinks.MFilesSysUtilsEventLog" Version="1.0.0" />
paket add Serilog.Sinks.MFilesSysUtilsEventLog --version 1.0.0
#r "nuget: Serilog.Sinks.MFilesSysUtilsEventLog, 1.0.0"
// Install Serilog.Sinks.MFilesSysUtilsEventLog as a Cake Addin #addin nuget:?package=Serilog.Sinks.MFilesSysUtilsEventLog&version=1.0.0 // Install Serilog.Sinks.MFilesSysUtilsEventLog as a Cake Tool #tool nuget:?package=Serilog.Sinks.MFilesSysUtilsEventLog&version=1.0.0
A Serilog sink to use in an M-Files Vault Application to write to the Windows EventLog using the SysUtils.ReportXToEventLog() helpers.
Use case
An Vault Application is an addon for an M-Files Vault which has been created using the M-Files Vault Application Framework. The currently only supported way of logging is using the SysUtils Event Log reporting helper.
The Serilog.Sinks.MFilesSysUtilsEventLog sink makes it possible to use Serilog structured logging in a Vault Application. For more information about Serilog, see Serilog.net and https://github.com/serilog/serilog.
Log.Logger = new LoggerConfiguration()
.WriteTo.MFilesSysUtilsEventLogSink()
.CreateLogger();
Log.Information("Hello from the Vault Application");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- MFiles.VAF (>= 2.2.0.11)
- Serilog (>= 2.10.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.