mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-30 18:56:30 +08:00
fixed duplicated console log
This commit is contained in:
@@ -20,9 +20,6 @@ namespace MQTTnet.TestApp.AspNetCore2
|
|||||||
|
|
||||||
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
|
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
|
||||||
{
|
{
|
||||||
loggerFactory.AddConsole(LogLevel.Debug);
|
|
||||||
loggerFactory.AddDebug();
|
|
||||||
|
|
||||||
app.UseMqttEndpoint();
|
app.UseMqttEndpoint();
|
||||||
app.UseMqttServer(async server =>
|
app.UseMqttServer(async server =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user