Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created June 19, 2017 06:06
Azure Functions Logging to Application Insights
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