Class UnhandledExceptionLogger
Used to log unhandled exceptions in webapi controllers
Inheritance
System.Object
Namespace: Umbraco.Web.WebApi
Assembly: Umbraco.Web.dll
Syntax
public class UnhandledExceptionLogger : ExceptionLogger
Constructors
View SourceUnhandledExceptionLogger()
Declaration
public UnhandledExceptionLogger()
UnhandledExceptionLogger(ILogger)
Declaration
public UnhandledExceptionLogger(ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Methods
View SourceLog(ExceptionLoggerContext)
Declaration
public override void Log(ExceptionLoggerContext context)
Parameters
Type | Name | Description |
---|---|---|
ExceptionLoggerContext | context |