有人可以推荐如何将Microsoft Logging stdout转换为单行并消除类方法
默认记录器输出
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1] Request starting HTTP/1.1 GET http://localhost:5000/api/todo/0 info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1] Executing action method TodoApi.Controllers.TodoController.GetById (TodoApi) with arguments (0) - ModelState is Valid
我想要的
info: Request starting HTTP/1.1 GET http://localhost:5000/api/todo/0 info: Executing action method TodoApi.Controllers.TodoController.GetById (TodoApi) with arguments (0) - ModelState is Valid