2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-31 14:15:25 +00:00
This commit is contained in:
Thomas Rory Gummerson
2017-07-24 14:44:42 +02:00
parent bcee0c4aa7
commit f55c834a02
2 changed files with 51 additions and 23 deletions

12
utils/log.js Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
const logError = err =>
console.error(`${err.name}: ${err.message}`);
const print = value =>
console.log(inspect(value, { colors: true, depth: null }));
module.exports = {
logError,
print
};