ILogger::LogException Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Logs the given exception at the given level under the given category.
Namespace: System.Web.Http.Common
Assembly: System.Web.Http.Common (in System.Web.Http.Common.dll)
Parameters
- category
- Type: System::String
The category under which to log the message. It can be empty but it cannot be nullptr.
- level
- Type: System.Diagnostics::TraceLevel
The TraceLevel at which to log the exception.
- exception
- Type: System::Exception
The Exception to log. It cannot be nullptr.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: