devlog.js 297 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. var inspect = require("util").inspect;
  3. function log(data)
  4. {
  5. console.log( inspect(data, {depth:null, colors:true}) );
  6. }
  7. function logAll(data)
  8. {
  9. console.log( inspect(data, {depth:null, showHidden:true, colors:true}) );
  10. }
  11. module.exports =
  12. {
  13. log: log,
  14. logAll: logAll
  15. };