Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道在使用运行任务时是否可以在 [azure 管道日志窗口(下)中记录来自 C# 代码的消息。我需要打印一些只有在 Azure 中执行我的函数才能获得的变量才能进行调试。
您可以简单地使用System.Console.WriteLine,并将其打印在日志中。
System.Console.WriteLine