Skip to content

Commit

Permalink
docs: fix pause/resume signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Feb 10, 2022
1 parent 2930938 commit adccecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ log events that can be consumed by a listener on the process object.
for debugging.
* `log.http(...args)` calls `process.emit('log', 'http', ...args)`
Information about HTTP requests made and/or completed.
* `log.pause(...args)` calls `process.emit('log', 'pause')` Used to tell
* `log.pause()` calls `process.emit('log', 'pause')` Used to tell
the consumer to stop printing messages.
* `log.resume(...args)` calls `process.emit('log', 'resume', ...args)`
* `log.resume()` calls `process.emit('log', 'resume')`
Used to tell the consumer that it is ok to print messages again.
* `log.LEVELS` an array of strings of all log method names

Expand Down

0 comments on commit adccecc

Please sign in to comment.