Forked from FishOfPrey/DeveloperConsoleOpenLogById.js
Created
August 30, 2018 22:03
-
-
Save snugsfbay/be4337bac53c3ce67d8855b006e38684 to your computer and use it in GitHub Desktop.
Have the Salesforce Developer Console open a debug log by ID
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
var logId = "07Lc000001OiO8GEAV"; | |
apex.ide.Viewer.open({ | |
id: "l-" + logId, | |
logId: logId, | |
Name: "Log " + logId, | |
xtype: "logviewer", | |
rawLogSize: 1 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment