LogRecordBuilder.BeginRecord Method |
Initializes the current LogRecordBuilder to emit a standard (i.e. non-custom) record for
a given context and method.
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public virtual void BeginRecord( LoggingContext context, ref LogRecordInfo recordInfo, ref LogMemberInfo memberInfo )
Parameters
- context
- Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingContext
The parent LoggingContext of the record. - recordInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.LogRecordInfo
Information about the record. - memberInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.LogMemberInfo
Information about the method, property, or field.