mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-31 14:15:25 +00:00
Cleanup
This commit is contained in:
12
utils/log.js
Normal file
12
utils/log.js
Normal 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
|
||||
};
|
Reference in New Issue
Block a user