From adccecc2bf5e77427e3fefe826a8e5a1a57640d7 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Thu, 10 Feb 2022 12:13:38 -0700 Subject: [PATCH] docs: fix pause/resume signatures --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97bb5c0..33464c3 100644 --- a/README.md +++ b/README.md @@ -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