Click or drag to resize
IActivityLogServiceLog Method
Logs given activity. Registered IActivityLogFilter are checked, activity is further processed only if all filters allow it. Then IActivityInfo is created and activityInitializer is called. Afterwards all registered modifiers are applied to the IActivityInfo. Finally the IActivityInfo is validated by registered IActivityLogValidator. Activity is stored only if it is valid. After the activity is stored, two events are fired.

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 13.0.131
Syntax
C#
void Log(
	IActivityInitializer activityInitializer,
	bool loggingDisabledInAdministration = true
)

Parameters

activityInitializer
Type: CMS.ActivitiesIActivityInitializer
Activity initializer used to initialize logged activity.
loggingDisabledInAdministration (Optional)
Type: SystemBoolean
True if activities should not be logged in administration.
See Also