2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-28 20:57:52 +00:00
Thomas Rory Gummerson 086a13948f Fixes
2017-07-24 17:12:38 +02:00

15 lines
264 B
JavaScript

'use strict';
const { inspect } = require('util');
const logError = log => err =>
log && console.error(`${err.name}: ${err.message}`);
const print = value =>
console.log(inspect(value, { colors: true, depth: null }));
module.exports = {
logError,
print
};