mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
26 lines
297 B
JavaScript
26 lines
297 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var inspect = require("util").inspect;
|
||
|
|
||
|
|
||
|
|
||
|
function log(data)
|
||
|
{
|
||
|
console.log( inspect(data, {depth:null, colors:true}) );
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
function logAll(data)
|
||
|
{
|
||
|
console.log( inspect(data, {depth:null, showHidden:true, colors:true}) );
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
module.exports =
|
||
|
{
|
||
|
log: log,
|
||
|
logAll: logAll
|
||
|
};
|