@@ -18,7 +18,7 @@ on the console which is very useful. Unfortunately those errors:
1818 and
1919 [ ` multipleResolves ` ] ( https://nodejs.org/api/process.html#process_event_multipleresolves ) making it hard to debug.
2020- are inconvenient to
21- [ log to an external service] ( docs/options .md#optionslog-string ) .
21+ [ log to an external service] ( docs/API .md#optionslog-string ) .
2222- cannot be conditionally skipped.
2323- are printed each time an error is repeated (except for
2424 [ ` warning ` ] ( https://nodejs.org/api/process.html#process_event_warning ) ).
@@ -76,18 +76,18 @@ logProcessErrors(options)
7676
7777` options ` is an optional object with the following properties:
7878
79- - [ ` log ` ` {function} ` ] ( docs/options .md#optionslog-string ) : customize how events
79+ - [ ` log ` ` {function} ` ] ( docs/API .md#optionslog-string ) : customize how events
8080 are logged. Default: use ` console.warn() ` , ` console.error() ` , etc.
81- - [ ` level ` ` {object} ` ] ( docs/options .md#optionslevel-object ) : which log level to
81+ - [ ` level ` ` {object} ` ] ( docs/API .md#optionslevel-object ) : which log level to
8282 use. Default: ` { warning: 'warn', multipleResolves: 'info', default: 'error' } ` .
83- - [ ` message ` ` {function} ` ] ( docs/options .md#optionsmessage-function ) : customize
83+ - [ ` message ` ` {function} ` ] ( docs/API .md#optionsmessage-function ) : customize
8484 messages.
85- - [ ` colors ` ` {boolean} ` ] ( docs/options .md#optionscolors-boolean ) : colorize
85+ - [ ` colors ` ` {boolean} ` ] ( docs/API .md#optionscolors-boolean ) : colorize
8686 messages. Default: ` true ` .
87- - [ ` exitOn ` ` {string[]} ` ] ( docs/options .md#optionsexiton-string ) : which events
87+ - [ ` exitOn ` ` {string[]} ` ] ( docs/API .md#optionsexiton-string ) : which events
8888 should trigger ` process.exit(1) ` . Default: ` ['uncaughtException'] ` .
8989
90- Please see the [ options full documentation] ( docs/options .md ) .
90+ Please see the [ options full documentation] ( docs/API .md ) .
9191
9292Full example:
9393
0 commit comments