My code shows:
Report.Log(ReportLevel.Info, "Invoke Action", "Invoking EnsureVisible() on item CrumbRepo.InText,"
And the report shows:
Invoking EnsureVisible() on item CrumbRepo.InText.
But what I want to show is the text bound to the module variable $InText.
How do you do this? How do you display a variable value in the text of a log message?
Thank you
How do you display variable Text in a log message?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How do you display variable Text in a log message?
Hi dochoa,
In the code sample below, the value of the module variable 'TestVariable' will be logged to the report.
If you need further assistance, please do let me know.
Sincerely,
Johannes
In the code sample below, the value of the module variable 'TestVariable' will be logged to the report.
Code: Select all
Report.Log(ReportLevel.Info, "User", "Variable value: "+TestVariable);
Sincerely,
Johannes