PostSharp6.3/API Reference/Post­Sharp.​Extensibility.​Build­Time­Logging Namespace/Build­Time­Logger Class/Build­Time­Logger Methods/Build­Time­Logger.​Activity Method/Build­Time­Logger.​Activity Method (String)

BuildTimeLogger.Activity Method (String)

Writes a preformatted message and increases the indentation level. To decrease the indentation level, dispose the BuildTimeLogActivity returned by this method.

Namespace:  PostSharp.Extensibility.BuildTimeLogging
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public BuildTimeLogActivity Activity(
	string message
)

Parameters

message
Type: System.String
Message.

Return Value

Type: BuildTimeLogActivity
An opaque object to be disposed at the end of the activity to decrease the indentation level.
See Also