diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-02-09 13:31:39 -0500 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-02-09 13:31:39 -0500 |
| commit | e0d0baa75ec0bf617f91b6cd779305d4009cae12 (patch) | |
| tree | 00eb968f49c6586cbc4367053887d0c5e68471b2 /backend/src/index.js | |
| parent | 19c9683e2126c68cb9d231293162c756d69c51fb (diff) | |
🆒
Diffstat (limited to 'backend/src/index.js')
| -rw-r--r-- | backend/src/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/src/index.js b/backend/src/index.js index fefe598..359456f 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -31,3 +31,8 @@ const server = new GraphQLServer({ // }); server.start(() => console.log('Server is running on http://localhost:4000')); + +// overwrite console.log +const chalk = require('chalk'); + +global.console.l = (...butta) => console.log(chalk.bold.yellow(...butta)); |
