UserLogger Object

Relevant for: API testing only

Description

Reports the specified conditions of the preceding object to the UserLogger build log in the Output pane.

Back to top

Syntax

this.<activity>.Context.UserLogger.<user logger detail supported method>

Back to top

Supported Methods

  • Info

  • InfoFormat

  • Debug

  • DebugFormat

  • Error

  • ErrorFormat

  • Fatal

  • FatalFormat

  • Warn

  • WarnFormat

For details on these supported methods, see online tutorials for log4net.

Back to top

Example

var Variablenames = this.ConcatenateStringsActivity4.Context.EnvironmentProfile.GetVariablesNames();
Context.UserLogger.Info(Variablenames);

Back to top