Skip to content

Commit 4e61d2a

Browse files
authored
Merge pull request #269 from mlucool/patch-1
Make the format string goodies clearer in README
2 parents b139836 + 735919b commit 4e61d2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ $ npm install debug
1010

1111
## Usage
1212

13-
With `debug` you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated `console.error`, so all of the `console` format string goodies you're used to work fine. A unique color is selected per-function for visibility.
13+
With `debug` you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated `console.error`, so all of the `console` [format string goodies](https://developer.chrome.com/devtools/docs/console-api#consolelogobject-object) you're used to work fine. A unique color is selected per-function for visibility.
1414

1515
Example _app.js_:
1616

0 commit comments

Comments
 (0)