Class Logger<TInterface>

Defines an interceptor that is responsible for logging.

Inheritance
Object
InterfaceInterceptor<TInterface>
Logger<TInterface>
Implements
IProxyAccess<TInterface>
Inherited Members
InterfaceInterceptor<TInterface>.Target
InterfaceInterceptor<TInterface>.Proxy
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Solti.Utils.Rpc.Aspects
Assembly: Solti.Utils.Rpc.Server.dll
Syntax
public class Logger<TInterface> : InterfaceInterceptor<TInterface>, IHasTarget<TInterface>, IProxyAccess<TInterface> where TInterface : class
Type Parameters
Name Description
TInterface

Constructors

Logger(TInterface, IInjector, ILogger)

Creates a new Logger<TInterface> instance.

Declaration
public Logger(TInterface target, IInjector currentScope, ILogger concreteLogger)
Parameters
Type Name Description
TInterface target
Solti.Utils.DI.Interfaces.IInjector currentScope
ILogger concreteLogger

Properties

ConcreteLogger

The concrete logger.

Declaration
public ILogger ConcreteLogger { get; }
Property Value
Type Description
ILogger

CurrentScope

The current scope.

Declaration
public IInjector CurrentScope { get; }
Property Value
Type Description
Solti.Utils.DI.Interfaces.IInjector

Methods

Invoke(InvocationContext)

Declaration
public override object Invoke(InvocationContext context)
Parameters
Type Name Description
InvocationContext context
Returns
Type Description
Object
Overrides
Solti.Utils.Proxy.InterfaceInterceptor<TInterface>.Invoke(Solti.Utils.Proxy.InvocationContext)

Implements

IProxyAccess<TInterface>
In This Article
Back to top Generated by DocFX