RedisErrorLoggerFeature
Assembly: ServiceStack.dll
View Source
Declaration
public class RedisErrorLoggerFeature : IPlugin, IHasStringId, IHasId<string>
Properties
Id
View Source
Declaration
public string Id { get; set; }
Fields
UrnServiceErrorType
Service error logs are kept in 'urn:ServiceErrors:{ServiceName}'
View Source
Declaration
public const string UrnServiceErrorType = "ServiceErrors"
CombinedServiceLogId
Combined service error logs are maintained in 'urn:ServiceErrors:All'
View Source
Declaration
public const string CombinedServiceLogId = "All"
Methods
Register(IAppHost)
View Source
Declaration
public void Register(IAppHost appHost)
Parameters
Type | Name |
---|---|
ServiceStack.IAppHost | appHost |
HandleUncaughtException(IRequest, IResponse, String, Exception)
View Source
Declaration
public void HandleUncaughtException(IRequest httpReq, IResponse httpRes, string operationName, Exception ex)
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
ServiceStack.Web.IResponse | httpRes |
System.String | operationName |
System.Exception | ex |
HandleServiceException(IRequest, Object, Exception)
View Source
Declaration
public object HandleServiceException(IRequest httpReq, object request, Exception ex)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
System.Object | request |
System.Exception | ex |