Kinds of log entry.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common.dll
Syntax
[Flags]
public enum LogRecordKind
Fields
Name | Description |
---|---|
AsyncMethodAwait | Before async method suspends execution. |
AsyncMethodResume | After async method resumes execution. |
CustomActivityEntry | Before a custom activity (emitted by OpenActivity(string) or OpenAsyncActivity(string)). |
CustomActivityException | When a custom activity fails with an exception (emitted by SetException(Exception)). |
CustomActivityExit | Any exit of a custom activity, where it is not known whether the execution succeeded or failed. |
CustomActivityFailure | When a custom activity fails with a custom message (emitted by SetFailure(string). |
CustomActivitySuccess | When a custom activity succeeds (emitted by SetSuccess(string)). |
CustomRecord | Custom record (emitted by Write(LogLevel, string). |
ExecutionPoint | Emitted by WriteExecutionPoint(). |
IteratorMoveNext | Before the MoveNext() method of an iterator executes. |
IteratorYield | When an iterator yields a result. |
MethodEntry | Before method execution. |
MethodException | After failed method execution (the method threw an exception). |
MethodOvertime | After a method execution is successful but lasted more time than the threshold. |
MethodSuccess | After successful method execution. |
None | The value was not set. |
ValueChanged | When value of a field or property changes. |