From d0320158459355e834d2b8c92728a8ef0084abfc Mon Sep 17 00:00:00 2001 From: vibhor-aggr <108814060+vibhor-aggr@users.noreply.github.com> Date: Sun, 12 Jul 2026 20:06:54 +0530 Subject: [PATCH] docs clarify star suffix convention --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 654d105a..7b458841 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,13 @@ When stdout is not a TTY, `Date#toISOString()` is used, making it more useful fo ## Conventions -If you're using this in one or more of your libraries, you _should_ use the name of your library so that developers may toggle debugging as desired without guessing names. If you have more than one debuggers you _should_ prefix them with your library name and use ":" to separate features. For example "bodyParser" from Connect would then be "connect:bodyParser". If you append a "*" to the end of your name, it will always be enabled regardless of the setting of the DEBUG environment variable. You can then use it for normal output as well as debug output. +If you're using this in one or more of your libraries, you _should_ use the name +of your library so that developers may toggle debugging as desired without +guessing names. If you have more than one debugger you _should_ prefix them with +your library name and use ":" to separate features. For example "bodyParser" +from Connect would then be "connect:bodyParser". To enable a group of related +debuggers, use a wildcard in the `DEBUG` environment variable, such as +`DEBUG=connect:*`. ## Wildcards