Skip to main content

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
TypeName
ServiceStack.IAppHostappHost

HandleUncaughtException(IRequest, IResponse, String, Exception)

View Source
Declaration
public void HandleUncaughtException(IRequest httpReq, IResponse httpRes, string operationName, Exception ex)
Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
ServiceStack.Web.IResponsehttpRes
System.StringoperationName
System.Exceptionex

HandleServiceException(IRequest, Object, Exception)

View Source
Declaration
public object HandleServiceException(IRequest httpReq, object request, Exception ex)
Returns

System.Object

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
System.Objectrequest
System.Exceptionex

Implements