Skip to content

Commit

Permalink
Make the format string goodies clearer in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mlucool committed Mar 9, 2016
1 parent 7271825 commit 735919b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $ npm install debug

## Usage

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.
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.

Example _app.js_:

Expand Down

0 comments on commit 735919b

Please sign in to comment.