LogRecordBuilder Methods |
The LogRecordBuilder type exposes the following members.

Name | Description | |
---|---|---|
![]() | BeginCustomRecord |
Initializes the current LogRecordBuilder to emit a custom record.
|
![]() | BeginRecord |
Initializes the current LogRecordBuilder to emit a standard (i.e. non-custom) record for
a given context and method.
|
![]() | Complete |
Emits the record and resets the current LogRecordBuilder.
This method invoked after all SetThis<T>(T), SetParameter<T>(Int32, String, ParameterDirection, String, T) and
similar methods have been called.
|
![]() | EmitRecord |
Emits the record. Invoked by the Complete() method.
|
![]() | Reset |
Resets all fields and properties of the current LogRecordBuilder to their initial value. Invoked by the
Complete() method.
|
![]() | SetException |
Sets the exception for the method or activity.
|
![]() | SetExecutionTime |
Sets the method or activity execution time.
|
![]() | SetMethodGenericParameter<T> |
Not implemented.
|
![]() | SetParameter<T>(Int32, String, ParameterDirection, String, T) |
Sets the value of a given parameter and uses the default formatter.
|
![]() | SetParameter<T>(Int32, String, ParameterDirection, String, T, IFormatter<T>) |
Sets the value of a given parameter and uses the default formatter.
|
![]() | SetReturnValue<T>(Int32, String, String, T) |
Sets a given return value (there can be several return values in C# 7.0) and uses the default formatter.
|
![]() | SetReturnValue<T>(Int32, String, String, T, IFormatter<T>) |
Sets a given return value (there can be several return values in C# 7.0) and uses a given formatter.
|
![]() | SetThis<T>(T) |
Sets the this (instance) value and uses the default formatter. This method is only invoked if the IncludeThisValue property is true.
|
![]() | SetThis<T>(T, IFormatter<T>) |
Sets the this (instance) value and uses a given formatter.
|
![]() | SetTypeGenericParameter<T> |
Not implemented.
|
![]() | WriteCustomParameter<T>(Int32, ArraySegment<Char>, T) |
Writes a custom parameter and uses the default formatter.
|
![]() | WriteCustomParameter<T>(Int32, ArraySegment<Char>, T, IFormatter<T>) |
Writes a custom parameter and uses a given formatter.
|
![]() | WriteCustomString |
Write a chunk of custom string.
|

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
