main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
297 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | var inspect = require("util").inspect;
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 |
|
---|
| 7 | function log(data)
|
---|
| 8 | {
|
---|
| 9 | console.log( inspect(data, {depth:null, colors:true}) );
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 |
|
---|
| 13 |
|
---|
| 14 | function logAll(data)
|
---|
| 15 | {
|
---|
| 16 | console.log( inspect(data, {depth:null, showHidden:true, colors:true}) );
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | module.exports =
|
---|
| 22 | {
|
---|
| 23 | log: log,
|
---|
| 24 | logAll: logAll
|
---|
| 25 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.