issues
search
redcanaryco
/
vscode-attack
Visual Studio Code extension for MITRE ATT&CK
BSD 3-Clause "New" or "Revised" License
52
stars
12
forks
source link
Improve debug logging
#6
Closed
rctgardner
closed
3 years ago
rctgardner
commented
3 years ago
Created new helper:
log()
- this sends a given message to the output channel prepended with an ISO timestamp
Updated all instances of
output.appendLine()
to use the new helper instead
Aligned provider log messages and circumstances in which each provider submits a log (each provider prepends its own name to debug log messages)
Removed all usage of
console.log
except in extension tests
Added debug log messages to all provider cancellations to aid in debugging when tasks are repeatedly cancelled
Improved log messages in
cacheData()
function to aid users unable to download the ATT&CK files on startup (issue #5)
log()
- this sends a given message to the output channel prepended with an ISO timestampoutput.appendLine()
to use the new helper insteadconsole.log
except in extension testscacheData()
function to aid users unable to download the ATT&CK files on startup (issue #5)