This commit is contained in:
Skylar Grant 2023-01-06 17:32:19 -05:00
parent 8a4ab13b0c
commit 88206c8208
1 changed files with 7 additions and 1 deletions

View File

@ -33,5 +33,11 @@
"prefix": "err",
"body": "console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] E: $1`);\n$0",
"description": "Log an error to the console with timestamp"
}
},
"Log Always": {
"scope": "javascript",
"prefix": "log",
"body": "console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] I: $1`);\n$0",
"description": "Log output to console always"
},
}