TcOpen.Inxton.Serilog.Sinks.MQTT 0.11.0-alpha.83

This is a prerelease version of TcOpen.Inxton.Serilog.Sinks.MQTT.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package TcOpen.Inxton.Serilog.Sinks.MQTT --version 0.11.0-alpha.83                
NuGet\Install-Package TcOpen.Inxton.Serilog.Sinks.MQTT -Version 0.11.0-alpha.83                
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="TcOpen.Inxton.Serilog.Sinks.MQTT" Version="0.11.0-alpha.83" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TcOpen.Inxton.Serilog.Sinks.MQTT --version 0.11.0-alpha.83                
#r "nuget: TcOpen.Inxton.Serilog.Sinks.MQTT, 0.11.0-alpha.83"                
#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 TcOpen.Inxton.Serilog.Sinks.MQTT as a Cake Addin
#addin nuget:?package=TcOpen.Inxton.Serilog.Sinks.MQTT&version=0.11.0-alpha.83&prerelease

// Install TcOpen.Inxton.Serilog.Sinks.MQTT as a Cake Tool
#tool nuget:?package=TcOpen.Inxton.Serilog.Sinks.MQTT&version=0.11.0-alpha.83&prerelease                

SeriLog MQTT sink

This is an initial implementation of MQTT sink for serilog logger. For details about the configuration of MQTT client see here. This sink is primarily developed to be used in TcOpen framework with TcoLogger.

Sink configuration

using MQTTnet;
using MQTTnet.Client.Options;
using MQTTnet.Client.Receiving;
using MQTTnet.Server;
using Serilog.Sinks;
using System;
using MQTTnet.Client;

   var topic = "my_funny_topic";
   var publisherOptions = new MqttClientOptionsBuilder().WithTcpServer("broker.emqx.io").Build();
   Log.Logger = new LoggerConfiguration()
                    .WriteTo.MQTT(publisherOptions, topic)
                    .CreateLogger();                    
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Framework net48 is compatible.  net481 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.11.0-alpha.85 44 12/5/2024
0.11.0-alpha.84 40 12/5/2024
0.11.0-alpha.83 48 12/4/2024
0.11.0-alpha.79 52 10/10/2024
0.11.0-alpha.74 63 6/25/2024
0.11.0-alpha.73 58 6/17/2024
0.11.0-alpha.71 60 6/3/2024
0.11.0-alpha.68 63 4/29/2024
0.11.0-alpha.65 63 3/27/2024
0.11.0-alpha.64 71 3/21/2024
0.11.0-alpha.63 63 3/18/2024
0.11.0-alpha.62 62 3/14/2024
0.11.0-alpha.61 67 2/26/2024
0.11.0-alpha.60 69 2/13/2024
0.11.0-alpha.59 67 1/22/2024
0.11.0-alpha.58 62 1/22/2024
0.11.0-alpha.57 66 1/19/2024
0.11.0-alpha.56 67 1/8/2024
0.11.0-alpha.55 68 1/4/2024
0.11.0-alpha.54 95 12/12/2023
0.11.0-alpha.53 74 12/12/2023
0.11.0-alpha.52 88 12/6/2023
0.11.0-alpha.50 96 11/30/2023
0.11.0-alpha.49 81 11/24/2023
0.11.0-alpha.48 80 11/24/2023
0.11.0-alpha.45 94 10/6/2023
0.11.0-alpha.44 83 9/22/2023
0.11.0-alpha.43 88 9/7/2023
0.11.0-alpha.42 97 9/7/2023
0.11.0-alpha.41 82 9/5/2023
0.11.0-alpha.35 108 7/25/2023
0.11.0-alpha.32 99 7/20/2023
0.11.0-alpha.29 87 5/22/2023
0.11.0-alpha.26 93 4/21/2023
0.11.0-alpha.23 98 3/22/2023
0.11.0-alpha.19 100 2/22/2023
0.11.0-alpha.17 96 2/15/2023
0.11.0-alpha.16 110 2/2/2023
0.11.0-alpha.15 106 1/29/2023
0.11.0-alpha.12 109 1/20/2023
0.11.0-alpha.8 110 1/11/2023
0.11.0-alpha.6 109 12/20/2022
0.11.0-alpha.3 101 12/12/2022
0.11.0-alpha.2 100 12/6/2022
0.10.0-alpha.31 103 11/28/2022
0.10.0-alpha.30 107 11/23/2022
0.10.0-alpha.27 112 11/14/2022
0.10.0-alpha.22 101 11/2/2022
0.10.0-alpha.20 104 10/27/2022
0.10.0-alpha.15 109 10/24/2022
0.10.0-alpha.10 114 10/13/2022
0.10.0-alpha.9 119 10/13/2022
0.10.0-alpha.5 105 10/3/2022
0.9.0-alpha.5 114 9/13/2022
0.9.0-alpha.4 118 9/8/2022
0.9.0-alpha.3 121 9/8/2022
0.8.3-alpha.26 106 9/1/2022
0.8.2-alpha.37 2,235 8/26/2022
0.8.2-alpha.35 118 8/22/2022
0.8.2-alpha.34 111 8/18/2022
0.8.2-alpha.21 109 8/17/2022
0.8.2-alpha.20 137 8/16/2022
0.8.2-alpha.17 393 8/10/2022
0.8.2-alpha.14 135 8/10/2022
0.8.2-alpha.9 144 7/27/2022
0.8.2-alpha.8 118 7/26/2022
0.8.2-alpha.7 127 7/20/2022
0.8.1-alpha.3 120 7/15/2022
0.8.1-alpha.2 130 7/14/2022
0.8.0-alpha.10 119 7/12/2022
0.8.0-alpha.9 120 7/11/2022
0.8.0-alpha.7 120 7/11/2022
0.7.1-alpha.12 120 6/29/2022
0.7.1-alpha.10 123 6/27/2022
0.7.1-alpha.9 123 6/23/2022
0.7.0-alpha.865 133 6/15/2022
0.7.0-alpha.863 124 6/9/2022
0.7.0-alpha.861 123 6/8/2022
0.7.0-alpha.858 127 6/4/2022
0.6.0-alpha.835 128 5/11/2022
0.5.0-alpha.834 129 4/20/2022
0.5.0-alpha.829 128 3/19/2022
0.5.0-alpha.827 128 3/19/2022
0.5.0-alpha.826 127 3/18/2022
0.5.0-alpha.822 132 3/11/2022
0.4.2-alpha.807 141 2/3/2022
0.4.2-alpha.795 131 1/15/2022

This is initial implementation of MQTT serilog sink