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, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
log.Info($"ProductId: {productId}");
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment