node/doc/api
James M Snell 03e89b3ff2 process: add --redirect-warnings command line argument
The --redirect-warnings command line argument allows process warnings
to be written to a specified file rather than printed to stderr.

Also adds an equivalent NODE_REDIRECT_WARNINGS environment variable.

If the specified file cannot be opened or written to for any reason,
the argument is ignored and the warning is printed to stderr.

If the file already exists, it will be appended to.

PR-URL: https://github.com/nodejs/node/pull/10116
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Michal Zasso <targos@protonmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
2017-01-30 11:11:47 -08:00
..
_toc.md doc: subdivide TOC, add auxiliary links 2016-04-29 13:27:18 -04:00
addons.md doc: var => const in js code examples of addons.md 2016-12-03 14:12:50 +01:00
all.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
assert.md doc: fix typo in assert code example 2016-11-22 17:27:05 +01:00
buffer.md doc: clarify Buffer.indexOf/lastIndexOf edge cases 2017-01-25 00:37:38 +01:00
child_process.md child_process: add string shortcut for fork stdio 2017-01-27 12:06:48 -08:00
cli.md process: add --redirect-warnings command line argument 2017-01-30 11:11:47 -08:00
cluster.md doc: modernize code examples in the cluster.md 2016-12-22 09:18:57 -05:00
console.md doc: for style, remove "isn't" contraction 2017-01-27 14:23:33 -08:00
crypto.md doc: update examples in api/crypto.md 2017-01-24 10:49:32 -08:00
debugger.md doc: for style, remove "isn't" contraction 2017-01-27 14:23:33 -08:00
dgram.md doc: improve rinfo object documentation 2016-12-27 21:31:01 -08:00
dns.md doc: change logical to bitwise OR in dns lookup 2017-01-30 18:11:43 +05:30
documentation.md doc: use blockquotes for Stability: markers 2016-08-04 22:43:34 +02:00
domain.md doc: for style, remove "isn't" contraction 2017-01-27 14:23:33 -08:00
errors.md doc: make comment indentation consistent 2016-11-16 07:52:57 +01:00
events.md doc: make comment indentation consistent 2016-11-16 07:52:57 +01:00
fs.md doc: clarifying variables in fs.write() 2017-01-18 13:39:21 -05:00
globals.md doc: for style, remove "isn't" contraction 2017-01-27 14:23:33 -08:00
http.md doc: fix typo in http.md 2017-01-30 11:41:58 +01:00
https.md doc: changed order of invocations in https.request() example. 2016-11-24 15:45:43 -05:00
index.md doc: git mv to .md 2016-04-20 16:34:27 -07:00
modules.md doc: for style, remove "isn't" contraction 2017-01-27 14:23:33 -08:00
net.md doc: strip trailing whitespace 2016-11-18 09:26:38 -08:00
os.md doc: make os api doc more consistent 2017-01-27 13:55:07 -08:00
path.md doc: fix typo in code example of 'path' module 2016-12-12 16:06:39 +01:00
process.md process: add optional code to warnings + type checking 2017-01-30 11:09:38 -08:00
punycode.md doc: use blockquotes for Stability: markers 2016-08-04 22:43:34 +02:00
querystring.md doc: fix "hashOwnProperty" typo in querystring 2016-08-15 10:42:38 -07:00
readline.md doc: remove backtick escaping for manpage refs 2016-11-20 00:56:25 +01:00
repl.md doc: add the valid link for curl(1) in repl.md 2016-12-25 19:50:35 +01:00
stream.md doc: update writable.write return value 2017-01-12 18:49:05 +01:00
string_decoder.md doc: use blockquotes for Stability: markers 2016-08-04 22:43:34 +02:00
synopsis.md doc: various documentation formatting fixes 2016-07-14 12:26:50 +03:00
timers.md doc: enable no-file-name-articles remark-lint rule 2016-09-27 07:07:40 -07:00
tls.md doc: DEFAULT_ECDH_CURVE was added in 0.11.13 2017-01-25 09:32:13 -08:00
tracing.md src: Node Tracing Controller 2016-12-20 12:31:09 -08:00
tty.md doc: add some info on tty#setRawMode() 2016-12-08 13:39:45 -05:00
url.md doc: add basic documentation for WHATWG URL API 2017-01-23 09:57:44 -08:00
util.md doc: "util" is not needed to extend ES6 classes 2016-11-23 19:29:54 +01:00
v8.md src: extend HeapStatistics with new fields 2016-11-20 02:23:00 +01:00
vm.md doc: fix misleading language in vm docs 2017-01-11 18:12:43 -05:00
zlib.md doc: add links for zlib convenience methods 2017-01-18 09:31:52 +01:00