PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ICustom­Log­Record­Builder Interface / ICustom­Log­Record­Builder Methods

ICustomLogRecordBuilder Methods

The ICustomLogRecordBuilder type exposes the following members.

Public methodBeginWriteItem
Begins to build a specified item.
Public methodComplete
Completes the creation of the record. It must be invoked before Dispose().
Public methodEndWriteItem
Ends building a specified item.
Public methodSetException
Assigns an Exception to the record.
Public methodSetExecutionTime
Sets an execution time to the record.
Public methodWriteCustomParameter<T>
Writes a custom parameter.
Public methodWriteCustomString
Writes a string.
See Also