Class LoggerAspectAttribute

Marks a module or service to be logged.

Inheritance
Object
Attribute
Solti.Utils.DI.Interfaces.AspectAttribute
LoggerAspectAttribute
DataServiceLoggerAspectAttribute
ModuleLoggerAspectAttribute
ServiceLoggerAspectAttribute
Inherited Members
Solti.Utils.DI.Interfaces.AspectAttribute.GetInterceptor(Solti.Utils.DI.Interfaces.IInjector, System.Type, System.Object)
Solti.Utils.DI.Interfaces.AspectAttribute.Kind
Attribute.Equals(Object)
Attribute.GetCustomAttribute(Assembly, Type)
Attribute.GetCustomAttribute(Assembly, Type, Boolean)
Attribute.GetCustomAttribute(MemberInfo, Type)
Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
Attribute.GetCustomAttribute(Module, Type)
Attribute.GetCustomAttribute(Module, Type, Boolean)
Attribute.GetCustomAttribute(ParameterInfo, Type)
Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
Attribute.GetCustomAttributes(Assembly)
Attribute.GetCustomAttributes(Assembly, Boolean)
Attribute.GetCustomAttributes(Assembly, Type)
Attribute.GetCustomAttributes(Assembly, Type, Boolean)
Attribute.GetCustomAttributes(MemberInfo)
Attribute.GetCustomAttributes(MemberInfo, Boolean)
Attribute.GetCustomAttributes(MemberInfo, Type)
Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
Attribute.GetCustomAttributes(Module)
Attribute.GetCustomAttributes(Module, Boolean)
Attribute.GetCustomAttributes(Module, Type)
Attribute.GetCustomAttributes(Module, Type, Boolean)
Attribute.GetCustomAttributes(ParameterInfo)
Attribute.GetCustomAttributes(ParameterInfo, Boolean)
Attribute.GetCustomAttributes(ParameterInfo, Type)
Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
Attribute.GetHashCode()
Attribute.IsDefaultAttribute()
Attribute.IsDefined(Assembly, Type)
Attribute.IsDefined(Assembly, Type, Boolean)
Attribute.IsDefined(MemberInfo, Type)
Attribute.IsDefined(MemberInfo, Type, Boolean)
Attribute.IsDefined(Module, Type)
Attribute.IsDefined(Module, Type, Boolean)
Attribute.IsDefined(ParameterInfo, Type)
Attribute.IsDefined(ParameterInfo, Type, Boolean)
Attribute.Match(Object)
Attribute.TypeId
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
public class LoggerAspectAttribute : AspectAttribute

Constructors

LoggerAspectAttribute()

Creates a new LoggerAspectAttribute instance.

Declaration
public LoggerAspectAttribute()

LoggerAspectAttribute(Type[])

Creates a new LoggerAspectAttribute instance.

Declaration
public LoggerAspectAttribute(params Type[] defaultLoggers)
Parameters
Type Name Description
Type[] defaultLoggers

Properties

DefaultLoggers

The default loggers. This value can be overridden per methods by the LoggersAttribute.

Declaration
public IReadOnlyList<LoggerBase> DefaultLoggers { get; }
Property Value
Type Description
IReadOnlyList<LoggerBase>

Methods

GetInterceptorType(Type)

Declaration
public override Type GetInterceptorType(Type iface)
Parameters
Type Name Description
Type iface
Returns
Type Description
Type
Overrides
Solti.Utils.DI.Interfaces.AspectAttribute.GetInterceptorType(System.Type)
In This Article
Back to top Generated by DocFX