PostSharp6.3/API Reference/Post­Sharp.​Extensibility.​Build­Time­Logging Namespace/Build­Time­Log­Activity Structure

BuildTimeLogActivity Structure

Value returned by the Activity(String) method that should be disposed to mark the end of the activity and decrease the indentation level.

Namespace:  PostSharp.Extensibility.BuildTimeLogging
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public struct BuildTimeLogActivity : IDisposable

The BuildTimeLogActivity type exposes the following members.

Methods
  NameDescription
Public methodDispose
When the current BuildTimeLogActivity has been returned by the Activity(String) method, decreases the indentation level.
Remarks

Only the value returned by Activity(String) method results in the indentation level to be decreased upon when the Dispose() method is invoked. Calling the Dispose() method on the default instance has no effect.

See Also