MVC在controller中使用Console.WriteLine无效,建议使用System.Diagnostics.Debug.WriteLine(...)
参考地址:https://blog.csdn.net/hzh_csdn/article/details/53244125
官方文档:https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debug.writeline?redirectedfrom=MSDN&view=netcore-3.1#overloads
MVC在controller中使用Console.WriteLine无效,建议使用System.Diagnostics.Debug.WriteLine(...)