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

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

Writes a message given a formatting string and 7 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.5.4.0 (6.5.4.0)
Syntax
C#
public BuildTimeLogActivity Activity<T1, T2, T3, T4, T5, T6, T7>(
	string format,
	T1 arg1,
	T2 arg2,
	T3 arg3,
	T4 arg4,
	T5 arg5,
	T6 arg6,
	T7 arg7
)

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.
arg5
Type: T5
Value of the 5-th parameter.
arg6
Type: T6
Value of the 6-th parameter.
arg7
Type: T7
Value of the 7-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.
T5
Type of the 5-th parameter.
T6
Type of the 6-th parameter.
T7
Type of the 7-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