UNPKG

tg-knex-query-resolver

Version:

TeselaGen's Knex based query resolver

13 lines (11 loc) 310 B
const util = require("util"); module.exports = function log(msg) { if (typeof msg === "string") { console.log(msg); } else { //console.log(dump(msg, {pretty: true, depth: Infinity })); console.log( util.inspect(msg, { depth: null, showHidden: true, maxArrayLength: null }) ); } };