@ancjf/logs
v1.0.5
Published
Print the variable with the name of the variable, the name of the function, on the line.
Downloads
13
Maintainers
Readme
install
npm install @ancjf/logs
exameple
const logs = require('@ancjf/logs');
var a = 1.0000;
var b = ['aaaa', null];
var c = 'hello';
var d = {vk: 'very key'};
var e = null;
logs.log(a, b, c, d, e);
logs.logvar(a, b, c, d, e);
logs.log('test');
logs.logvar(a, b, c, d, e);
output:
(test)<test.js:10> a: 1, b: ["aaaa",null], c: "hello", d: {"vk":"very key"}, e: null
(test)<test.js:12> test