[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page describes the \u003ccode\u003eIExceptionLogger\u003c/code\u003e interface, a generic tool for logging exceptions in .NET applications within the Google Cloud Diagnostics framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLog\u003c/code\u003e method allows synchronous logging of an exception, taking the exception itself and an optional \u003ccode\u003eHttpContext\u003c/code\u003e as parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogAsync\u003c/code\u003e method provides asynchronous logging capabilities, including parameters for the exception, \u003ccode\u003eHttpContext\u003c/code\u003e (optional), and a \u003ccode\u003eCancellationToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe logger automatically retrieves the current HTTP context if an explicit one is not provided.\u003c/p\u003e\n"]]],[],null,[]]