File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,10 @@ change the behavior of the debug logging:
146
146
| Name | Purpose |
147
147
| -----------| -------------------------------------------------|
148
148
| ` DEBUG ` | Enables/disables specific debugging namespaces. |
149
+ | ` DEBUG_HIDE_DATE ` | Hide date from debug output (non-TTY). |
149
150
| ` DEBUG_COLORS ` | Whether or not to use colors in the debug output. |
150
- | ` DEBUG_DEPTH ` | Object inspection depth. |
151
+ | ` DEBUG_DEPTH ` | Object inspection depth. |
151
152
| ` DEBUG_SHOW_HIDDEN ` | Shows hidden properties on inspected objects. |
152
- | ` DEBUG_HIDE_TTY_DATE ` | Hide date from debug output on TTY. |
153
153
154
154
155
155
__ Note:__ The environment variables beginning with ` DEBUG_ ` end up being
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ function formatArgs(args) {
120
120
}
121
121
122
122
function getDate ( ) {
123
- if ( exports . inspectOpts . hideTtyDate ) {
123
+ if ( exports . inspectOpts . hideDate ) {
124
124
return '' ;
125
125
} else {
126
126
return new Date ( ) . toISOString ( ) + ' ' ;
You can’t perform that action at this time.
0 commit comments