ServiceExceptionLogger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a global Web API unhandled exception logger which is called when unhandled exceptions propagate all the way to Web API infrastructure.
public class ServiceExceptionLogger : System.Web.Http.ExceptionHandling.ExceptionLogger
type ServiceExceptionLogger = class
inherit ExceptionLogger
Public Class ServiceExceptionLogger
Inherits ExceptionLogger
- Inheritance
-
System.Web.Http.ExceptionHandling.ExceptionLoggerServiceExceptionLogger
Constructors
ServiceExceptionLogger() |
Methods
Log(ExceptionLoggerContext) |
Logs the unhandled exception using LogCategories which makes it show up in the application log unless the application has been configured to not log such events. |