Created
June 19, 2017 06:06
-
-
Save justinyoo/983a518cb9f6e9c55c695e6c0a4bb8f2 to your computer and use it in GitHub Desktop.
Azure Functions Logging to Application Insights
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, string productId, ILogger log) | |
{ | |
log.LogInformation("C# HTTP trigger function processed a request."); | |
log.LogInformation($"ProductId: {productId}"); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment