Show / Hide Table of Contents

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 Source

LoggingInterceptor(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 Source

Intercept(IInvocation)

Intercepts the specified invocation.

Declaration
public void Intercept(IInvocation invocation)
Parameters
Type Name Description
IInvocation invocation

The invocation.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX