Thursday, June 26, 2014

Azure WebJobs Logging

There are multiple ways to enable logging inside your Azure Web Job.

Console.WriteLine

One option that works if you created a C# console application, is using the Console.WriteLine() or Console.Write() methods on the Console object.

image

Inject a TextWriter

Another option is injecting a TextWriter into one of the WebJobs methods:

No comments: