Skip to content

Commit 7643c2a

Browse files
authored
doc: update debuglog examples to use 'foo-bar' instead of 'foo'
PR-URL: #60867 Reviewed-By: Deokjin Kim <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 3c92ee1 commit 7643c2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ The `section` supports wildcard also:
135135

136136
```mjs
137137
import { debuglog } from 'node:util';
138-
const log = debuglog('foo');
138+
const log = debuglog('foo-bar');
139139

140140
log('hi there, it\'s foo-bar [%d]', 2333);
141141
```
142142

143143
```cjs
144144
const { debuglog } = require('node:util');
145-
const log = debuglog('foo');
145+
const log = debuglog('foo-bar');
146146

147147
log('hi there, it\'s foo-bar [%d]', 2333);
148148
```

0 commit comments

Comments
 (0)