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 - Azure Tutorial
From the course: Azure Serverless Computing
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
Functions Overview7m 6s
-
Demo Create a function application4m 22s
-
Demo: Create a function9m 38s
-
Manage and monitor functions1m 35s
-
Demo: Function logging3m 1s
-
Demo: Function monitoring2m 14s
-
Demo: Kudu3m 9s
-
Visual Studio function project1m 52s
-
Demo: Visual Studio function project8m 31s
-
Options for deploying a function46s
-
Demo: Deploying the function to Azure4m 33s
-
-
-
-