mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
added LogId to options and use it to create logging scope
This commit is contained in:
@@ -9,6 +9,9 @@ namespace MQTTnet.Core.Client
|
||||
|
||||
public string ClientId { get; set; } = Guid.NewGuid().ToString("N");
|
||||
|
||||
/// <inheritdoc />
|
||||
public string LogId { get; set; }
|
||||
|
||||
public bool CleanSession { get; set; } = true;
|
||||
|
||||
public IMqttClientCredentials Credentials { get; set; } = new MqttClientCredentials();
|
||||
|
||||
Reference in New Issue
Block a user