Skip to content

Commit 3af21c7

Browse files
committed
Better newlines
1 parent 3d128e0 commit 3af21c7

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

docs/API.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ not).
4747

4848
#### level
4949

50-
_Type_: `object`
51-
50+
_Type_: `object`<br>
5251
_Default_: `{ warning: 'warn', multipleResolves: 'info', default: 'error' }`.
5352

5453
Which log level to use.
@@ -85,25 +84,22 @@ logProcessErrors({
8584

8685
#### message
8786

88-
_Type_: `function(level, event, options) => string`
89-
87+
_Type_: `function(level, event, options) => string`<br>
9088
_Default_: generate a nice-looking and descriptive log message.
9189

9290
Override the default message generation. Arguments are
9391
[`level`](#optionslevel-object), [`event`](#event) and [`options`](#options).
9492

9593
#### colors
9694

97-
_Type_: `boolean`
98-
95+
_Type_: `boolean`<br>
9996
_Default_: `true` if the output is a terminal.
10097

10198
Colorize the default [`options.message`](#optionsmessage-function).
10299

103100
#### exitOn
104101

105-
_Type_: `string[]`
106-
102+
_Type_: `string[]`<br>
107103
_Default_: `["uncaughtException"]`
108104

109105
Which events should trigger `process.exit(1)`:

0 commit comments

Comments
 (0)