TcOpen.Inxton.Serilog.Sinks.MQTT 0.9.0-alpha.5

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.9.0-alpha.5
                    
NuGet\Install-Package TcOpen.Inxton.Serilog.Sinks.MQTT -Version 0.9.0-alpha.5
                    
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.9.0-alpha.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TcOpen.Inxton.Serilog.Sinks.MQTT" Version="0.9.0-alpha.5" />
                    
Directory.Packages.props
<PackageReference Include="TcOpen.Inxton.Serilog.Sinks.MQTT" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TcOpen.Inxton.Serilog.Sinks.MQTT --version 0.9.0-alpha.5
                    
#r "nuget: TcOpen.Inxton.Serilog.Sinks.MQTT, 0.9.0-alpha.5"
                    
#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.
#:package TcOpen.Inxton.Serilog.Sinks.MQTT@0.9.0-alpha.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TcOpen.Inxton.Serilog.Sinks.MQTT&version=0.9.0-alpha.5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=TcOpen.Inxton.Serilog.Sinks.MQTT&version=0.9.0-alpha.5&prerelease
                    
Install as a Cake Tool

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.12.0-alpha.58 107 7/17/2025
0.12.0-alpha.55 113 7/7/2025
0.12.0-alpha.51 122 5/20/2025
0.12.0-alpha.42 195 5/14/2025
0.12.0-alpha.38 135 3/12/2025
0.12.0-alpha.35 74 2/14/2025
0.12.0-alpha.30 80 2/11/2025
0.12.0-alpha.26 65 2/8/2025
0.12.0-alpha.25 64 2/8/2025
0.12.0-alpha.24 67 2/8/2025
0.12.0-alpha.20 64 2/8/2025
0.12.0-alpha.16 70 2/7/2025
0.11.0-alpha.85 64 12/5/2024
0.11.0-alpha.84 61 12/5/2024
0.11.0-alpha.83 72 12/4/2024
0.11.0-alpha.79 68 10/10/2024
0.11.0-alpha.74 77 6/25/2024
0.11.0-alpha.73 74 6/17/2024
0.11.0-alpha.71 70 6/3/2024
0.11.0-alpha.68 73 4/29/2024
0.11.0-alpha.65 72 3/27/2024
0.11.0-alpha.64 80 3/21/2024
0.11.0-alpha.63 73 3/18/2024
0.11.0-alpha.62 71 3/14/2024
0.11.0-alpha.61 79 2/26/2024
0.11.0-alpha.60 80 2/13/2024
0.11.0-alpha.59 77 1/22/2024
0.11.0-alpha.58 74 1/22/2024
0.11.0-alpha.57 76 1/19/2024
0.11.0-alpha.56 77 1/8/2024
0.11.0-alpha.55 80 1/4/2024
0.11.0-alpha.54 105 12/12/2023
0.11.0-alpha.53 85 12/12/2023
0.11.0-alpha.52 96 12/6/2023
0.11.0-alpha.50 106 11/30/2023
0.11.0-alpha.49 91 11/24/2023
0.11.0-alpha.48 91 11/24/2023
0.11.0-alpha.45 109 10/6/2023
0.11.0-alpha.44 100 9/22/2023
0.11.0-alpha.43 109 9/7/2023
0.11.0-alpha.42 116 9/7/2023
0.11.0-alpha.41 102 9/5/2023
0.11.0-alpha.35 131 7/25/2023
0.11.0-alpha.32 122 7/20/2023
0.11.0-alpha.29 115 5/22/2023
0.11.0-alpha.26 125 4/21/2023
0.11.0-alpha.23 130 3/22/2023
0.11.0-alpha.19 132 2/22/2023
0.11.0-alpha.17 135 2/15/2023
0.11.0-alpha.16 142 2/2/2023
0.11.0-alpha.15 141 1/29/2023
0.11.0-alpha.12 144 1/20/2023
0.11.0-alpha.8 144 1/11/2023
0.11.0-alpha.6 142 12/20/2022
0.11.0-alpha.3 135 12/12/2022
0.11.0-alpha.2 134 12/6/2022
0.10.0-alpha.31 138 11/28/2022
0.10.0-alpha.30 144 11/23/2022
0.10.0-alpha.27 146 11/14/2022
0.10.0-alpha.22 135 11/2/2022
0.10.0-alpha.20 140 10/27/2022
0.10.0-alpha.15 146 10/24/2022
0.10.0-alpha.10 150 10/13/2022
0.10.0-alpha.9 155 10/13/2022
0.10.0-alpha.5 143 10/3/2022
0.9.0-alpha.5 153 9/13/2022
0.9.0-alpha.4 156 9/8/2022
0.9.0-alpha.3 158 9/8/2022
0.8.3-alpha.26 148 9/1/2022
0.8.2-alpha.37 2,359 8/26/2022
0.8.2-alpha.35 157 8/22/2022
0.8.2-alpha.34 150 8/18/2022
0.8.2-alpha.21 149 8/17/2022
0.8.2-alpha.20 180 8/16/2022
0.8.2-alpha.17 432 8/10/2022
0.8.2-alpha.14 176 8/10/2022
0.8.2-alpha.9 185 7/27/2022
0.8.2-alpha.8 159 7/26/2022
0.8.2-alpha.7 168 7/20/2022
0.8.1-alpha.3 161 7/15/2022
0.8.1-alpha.2 172 7/14/2022
0.8.0-alpha.10 160 7/12/2022
0.8.0-alpha.9 164 7/11/2022
0.8.0-alpha.7 162 7/11/2022
0.7.1-alpha.12 161 6/29/2022
0.7.1-alpha.10 167 6/27/2022
0.7.1-alpha.9 166 6/23/2022
0.7.0-alpha.865 176 6/15/2022
0.7.0-alpha.863 169 6/9/2022
0.7.0-alpha.861 167 6/8/2022
0.7.0-alpha.858 173 6/4/2022
0.6.0-alpha.835 175 5/11/2022
0.5.0-alpha.834 178 4/20/2022
0.5.0-alpha.829 181 3/19/2022
0.5.0-alpha.827 182 3/19/2022
0.5.0-alpha.826 181 3/18/2022
0.5.0-alpha.822 186 3/11/2022
0.4.2-alpha.807 194 2/3/2022
0.4.2-alpha.795 189 1/15/2022

This is initial implementation of MQTT serilog sink