LogMemberInfo Structure |
Stores information regarding the method, field or property being logged.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public readonly struct LogMemberInfo
The LogMemberInfo type exposes the following members.
Name | Description | |
---|---|---|
LogMemberInfo(LoggingProfile, LoggingSourceLocalState, String, Int32, Int32, Int32) |
Initializes a new LogMemberInfo without CallerInfo.
| |
LogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32) | Obsolete. Initializes a new instance of the LogMemberInfo class | |
LogMemberInfo(LoggingProfile, LoggingSourceLocalState, String, Int32, Int32, Int32, String, Int32, Int32) |
Initializes a new LogMemberInfo with CallerInfo.
| |
LogMemberInfo(LoggingProfile, LoggingTypeSource, String, Int32, Int32, Int32, String, Int32, Int32) | Obsolete. Initializes a new instance of the LogMemberInfo class |
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.
|