Class LogMemberInfo
Stores information regarding the method, field or property being logged.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class LogMemberInfo : ValueType
Constructors
Name | Description |
---|---|
LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, String, Int32, Int32, Int32) | Initializes a new LogMemberInfo without CallerInfo. |
LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, String, Int32, Int32, Int32, String, Int32, Int32) | Initializes a new LogMemberInfo with CallerInfo. |
LogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32) | |
LogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32, String, Int32, Int32) |
Properties
Name | Description |
---|---|
GenericParameterCount | Gets the number of generic parameters of the method. |
MemberName | Gets the name of the method, property, or field. |
ParameterCount | Gets the number of parameters of the method. |
Profile | Gets the LoggingProfile with which the method is being logged. |
ReturnValueCount | Gets the number of return values of the method. |
Source | Gets information about the source type. |
SourceLineInfo | Gets information about the source code location of the method, property, or field. |
ThreadContext | Gets the current ThreadLoggingContext. |