Skip to content

Commit

Permalink
remove print of hidden properties
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmandic committed Sep 15, 2021
1 parent 1029d46 commit c4b8375
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/pilogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ var tags = {
debug: ctx.bgGray.redBright("DEBUG:")
};
var inspectOptions = {
showHidden: true,
showHidden: false,
depth: 5,
colors: true,
showProxy: true,
Expand All @@ -1791,7 +1791,7 @@ var inspectOptions = {
breakLength: 200,
compact: 64,
sorted: false,
getters: true
getters: false
};
var logger = new Console({
stdout: process.stdout,
Expand Down
4 changes: 2 additions & 2 deletions src/pilogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const tags = {
};

let inspectOptions = { // options passed to nodejs console constructor
showHidden: true,
showHidden: false,
depth: 5,
colors: true,
showProxy: true,
Expand All @@ -51,7 +51,7 @@ let inspectOptions = { // options passed to nodejs console constructor
breakLength: 200,
compact: 64,
sorted: false,
getters: true,
getters: false,
};

let logger = new Console({
Expand Down
3 changes: 2 additions & 1 deletion src/test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const fs = require('fs');
const log = require('../dist/pilogger.js');
// const log = require('../dist/pilogger.js');
const log = require('./pilogger.js');

console.log(log.options);

Expand Down

0 comments on commit c4b8375

Please sign in to comment.