added LogId to options and use it to create logging scope

This commit is contained in:
Jan Eggers
2017-10-27 12:29:13 +02:00
parent 3a250723d7
commit dd447f24d2
3 changed files with 9 additions and 1 deletions
+3
View File
@@ -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();