mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 09:13:02 +08:00
added LogId to options and use it to create logging scope
This commit is contained in:
@@ -6,6 +6,11 @@ namespace MQTTnet.Core.Client
|
||||
public interface IMqttClientOptions
|
||||
{
|
||||
string ClientId { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The LogId is used to create a scope to correlate logging. If no value is provided the ClientId is used instead
|
||||
/// </summary>
|
||||
string LogId { get; }
|
||||
IMqttClientCredentials Credentials { get; }
|
||||
bool CleanSession { get; }
|
||||
MqttApplicationMessage WillMessage { get; }
|
||||
|
||||
Reference in New Issue
Block a user