新增日志

zw
rszn 5 months ago
parent 40da862e6a
commit 831b81a074

@ -267,7 +267,7 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR
DateFormatString = "yyyy-MM-dd HH:mm:ss", DateFormatString = "yyyy-MM-dd HH:mm:ss",
NullValueHandling = NullValueHandling.Ignore NullValueHandling = NullValueHandling.Ignore
}; };
Log.Info(JsonConvert.SerializeObject(model, settings)); Log.Info($"send {JsonConvert.SerializeObject(model, settings)}");
var appMsg = new MqttApplicationMessage var appMsg = new MqttApplicationMessage
{ {
Topic = PubTopic, Topic = PubTopic,

Loading…
Cancel
Save