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 these supported methods, see online tutorials for log4net.
Example
var Variablenames = this.ConcatenateStringsActivity4.Context.EnvironmentProfile.GetVariablesNames();
Context.UserLogger.Info(Variablenames);