Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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