LogMemberInfo(LoggingProfile, LoggingTypeSource, string, int, int, int)
Declaration
[Obsolete("Use the constructor that takes a LoggingSourceLocalState instead of a LoggingTypeSource.")]
public LogMemberInfo(LoggingProfile profile, LoggingTypeSource source, string memberName, int parameterCount, int returnValueCount, int genericParameterCount)
Parameters
Type | Name | Description |
---|---|---|
LoggingProfile | profile | |
LoggingTypeSource | source | |
string | memberName | |
int | parameterCount | |
int | returnValueCount | |
int | genericParameterCount |
LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, string, int, int, int)
Initializes a new LogMemberInfo without CallerInfo.
Declaration
public LogMemberInfo(LoggingProfile profile, in LoggingSourceLocalState localState, string memberName, int parameterCount, int returnValueCount, int genericParameterCount)
Parameters
Type | Name | Description |
---|---|---|
LoggingProfile | profile | The parent LoggingProfile. |
LoggingSourceLocalState | localState | |
string | memberName | Name of the method, property, or field. |
int | parameterCount | Number of parameters in the method. |
int | returnValueCount | Number of return values. |
int | genericParameterCount | Number of generic method parameters. |
LogMemberInfo(LoggingProfile, LoggingTypeSource, string, int, int, int, string, int, int)
Declaration
[Obsolete("Use the constructor that takes a LoggingSourceLocalState instead of a LoggingTypeSource.")]
public LogMemberInfo(LoggingProfile profile, LoggingTypeSource source, string memberName, int parameterCount, int returnValueCount, int genericParameterCount, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
LoggingProfile | profile | |
LoggingTypeSource | source | |
string | memberName | |
int | parameterCount | |
int | returnValueCount | |
int | genericParameterCount | |
string | file | |
int | line | |
int | column |
LogMemberInfo(LoggingProfile, in LoggingSourceLocalState, string, int, int, int, string, int, int)
Initializes a new LogMemberInfo with CallerInfo.
Declaration
public LogMemberInfo(LoggingProfile profile, in LoggingSourceLocalState localState, string memberName, int parameterCount, int returnValueCount, int genericParameterCount, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
LoggingProfile | profile | The parent LoggingProfile. |
LoggingSourceLocalState | localState | |
string | memberName | Name of the method, property, or field. |
int | parameterCount | Number of parameters in the method. |
int | returnValueCount | Number of return values. |
int | genericParameterCount | Number of generic method parameters. |
string | file | Caller source file. |
int | line | Caller source line. |
int | column | Caller source column. |