PostSharp6.4//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(T1, T2, T3, T4) Method (String, T1, T2, T3, T4)

BuildTimeLogger.Activity<T1, T2, T3, T4> Method (String, T1, T2, T3, T4)

Writes a message given a formatting string and 4 arguments, 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.4.11.0 (6.4.11.0)
Syntax
C#
public BuildTimeLogActivity Activity<T1, T2, T3, T4>(
	string format,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4
)

Parameters

format
Type: System.String
Message.
arg1
Type: T1
Value of the 1-th parameter.
arg2
Type: T2
Value of the 2-th parameter.
arg3
Type: T3
Value of the 3-th parameter.
arg4
Type: T4
Value of the 4-th parameter.

Type Parameters

T1
Type of the 1-th parameter.
T2
Type of the 2-th parameter.
T3
Type of the 3-th parameter.
T4
Type of the 4-th parameter.

Return Value

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