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.

Syntax

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

Supported Methods

  • Info

  • InfoFormat

  • Debug

  • DebugFormat

  • Error

  • ErrorFormat

  • Fatal

  • FatalFormat

  • Warn

  • WarnFormat

For details on the supported methods, see http://www.codeproject.com/Articles/140911/log4net-Tutorial.

Example

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