From the course: Azure Serverless Computing

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Demo: Function logging

Demo: Function logging - Azure Tutorial

From the course: Azure Serverless Computing

Start my 1-month free trial

Demo: Function logging

- [Instructor] So when you write code, you have the opportunity to write output. And fortunately, in the extension framework for Azure functions, it includes a TraceWriter. The TraceWriter log, I can use to go out and write out information, null messages, I can write warnings, I can write errors. And these messages then, we saw, were showing up by going down and looking at the logs. These are actually being captured also into a file system and you can see them from there as well. To see that, click up here on your function and then go to the platform features. So when you write code, you have the opportunity to write output. And fortunately, in the extension framework for Azure functions, it includes a TraceWriter. The TraceWriter log, I can use to go out and write out information, null messages, I can write warnings, I can write errors, and these messages then we saw were showing up by going down and looking at the logs. These are actually being captured also into a file system and…

Contents