GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — lib: implement node:logger · nodejs/node@9cab94c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc
    • api
      • cli.md
      • fs.md
      • index.md
      • logger.md
      • process.md
    • node.1
  • lib
    • internal
      • bootstrap
        • realm.js
      • process
        • pre_execution.js
      • streams
        • fast-utf8-stream.js
    • logger.js
  • src
    • node_builtins.cc
    • node_options.cc
    • node_options.h
  • test
    • module-hooks
      • test-module-hooks-builtin-require.js
      • test-module-hooks-load-builtin-require.js
    • parallel
      • test-fastutf8stream-flush-sync.js
      • test-fastutf8stream-flush.js
      • test-fastutf8stream-periodicflush.js
      • test-logger-console-provider.js
      • test-logger-diagnostics-provider.js
      • test-logger.js
      • test-module-builtin-experimental.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+12Lines changed: 12 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,16 @@ Specify the `module` containing exported [asynchronous module customization hook
14821482

14831483
This feature requires `--allow-worker` if used with the [Permission Model][].
14841484

1485+
### `--experimental-logger`
1486+
1487+
<!-- YAML
1488+
added: REPLACEME
1489+
-->
1490+
1491+
> Stability: 1.1 - Active development
1492+
1493+
Enable the experimental [`node:logger`][] module.
1494+
14851495
### `--experimental-network-inspection`
14861496

14871497
<!-- YAML
@@ -4083,6 +4093,7 @@ one is included in the list below.
40834093
* `--experimental-import-text`
40844094
* `--experimental-json-modules`
40854095
* `--experimental-loader`
4096+
* `--experimental-logger`
40864097
* `--experimental-modules`
40874098
* `--experimental-package-map`
40884099
* `--experimental-print-required-tla`
@@ -4755,6 +4766,7 @@ node --stack-trace-limit=12 -p -e "Error.stackTraceLimit" # prints 12
47554766
[`import` specifier]: esm.md#import-specifiers
47564767
[`net.getDefaultAutoSelectFamilyAttemptTimeout()`]: net.md#netgetdefaultautoselectfamilyattempttimeout
47574768
[`node:ffi`]: ffi.md
4769+
[`node:logger`]: logger.md
47584770
[`node:sqlite`]: sqlite.md
47594771
[`node:stream/iter`]: stream_iter.md
47604772
[`node:vfs`]: vfs.md
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -8541,12 +8541,13 @@ Close the stream gracefully, flushing the internal buffer before closing.
85418541
* `callback` {Function}
85428542
* `err` {Error|null} An error if the flush failed, otherwise `null`.
85438543
8544-
Writes the current buffer to the file if a write was not in progress. Do
8545-
nothing if `minLength` is zero or if it is already writing.
8544+
Writes the current buffer to the file. The callback is invoked after pending
8545+
writes complete.
85468546
85478547
#### `utf8Stream.flushSync()`
85488548
8549-
Flushes the buffered data synchronously. This is a costly operation.
8549+
Flushes the buffered data synchronously. This is a costly operation. An
8550+
`ERR_INVALID_STATE` error is thrown if the stream is currently writing.
85508551
85518552
#### `utf8Stream.fsync`
85528553
Collapse file

‎doc/api/index.md‎

Copy file name to clipboardExpand all lines: doc/api/index.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
* [Inspector](inspector.md)
3737
* [Internationalization](intl.md)
3838
* [Iterable Streams API](stream_iter.md)
39+
* [Logger](logger.md)
3940
* [Modules: CommonJS modules](modules.md)
4041
* [Modules: ECMAScript modules](esm.md)
4142
* [Modules: `node:module` API](module.md)

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.