-
-
Save knksmith57/7b673fe77429534a93f2c7ea5ff61c20 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env node | |
'use strict' | |
const chalk = require('chalk') | |
const errStr = (new Error('oh no errors r bad!')).stack | |
console.log(chalk.gray('12:00:00') + ' 🚨 ' + chalk.cyan('some:ns') + ' ' + chalk.dim.red(errStr)) | |
console.log(chalk.gray('12:00:00') + ' 🚨 ' + chalk.cyan('some:ns') + ' ' + chalk.red(errStr)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment