Created
September 30, 2020 14:01
-
-
Save mountaindude/f39e3ea901d84ec3ed12484a57a345a0 to your computer and use it in GitHub Desktop.
Qlik Sense NiceTrace function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Sub enables prettified output of text to the reload progress window of Qlik Sense. | |
// Use it to get timestamped trace messages, that also have a prefix that makes them easier | |
// to spot in the reload progress windows and reload logs. | |
// | |
// Usage example: | |
// call NiceTrace ('This is a debug message, including a variable $(vMetaDataQVDPath)\abc.qvd') | |
sub NiceTrace (vL.Msg) | |
let vL.vNow = Now(1); | |
trace >>> $(vL.vNow): $(vL.Msg); | |
// Remove local variables before exiting | |
set vL.vNow=; | |
set vL.Msg=; | |
end sub; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment