Class LoggingInterceptor
Represents the logging interceptor that writes log messages before and after method invocation.
Inheritance
System.Object
LoggingInterceptor
Namespace: Relativity.Testing.Framework.Logging
Assembly: Relativity.Testing.Framework.dll
Syntax
public class LoggingInterceptor : IInterceptor
Constructors
| Improve this Doc View SourceLoggingInterceptor(ILogService)
Initializes a new instance of the LoggingInterceptor class.
Declaration
public LoggingInterceptor(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The log service. |
Methods
| Improve this Doc View SourceIntercept(IInvocation)
Intercepts the specified invocation.
Declaration
public void Intercept(IInvocation invocation)
Parameters
| Type | Name | Description |
|---|---|---|
| IInvocation | invocation | The invocation. |