Open sandboxFocus

Struct LogMemberInfo

Stores information regarding the method, field or property being logged.

Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public readonly struct LogMemberInfo

Constructors

Name Description
LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, string, int, int, int)

Initializes a new LogMemberInfo without CallerInfo.

LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, string, int, int, int, string, int, int)

Initializes a new LogMemberInfo with CallerInfo.

LogMemberInfo(LoggingProfile, LoggingTypeSource, string, int, int, int)
LogMemberInfo(LoggingProfile, LoggingTypeSource, string, int, int, int, string, int, int)

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.