Skip to content

Commit

Permalink
Update lighthouse-logger location in readme (#2867)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikerhyssmith authored and paulirish committed Aug 7, 2017
1 parent 9d8a32f commit 1347b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ You can also craft your own config (e.g. [plots-config.js](https://github.com/Go
### Turn on logging
If you want to see log output as Lighthouse runs, include the `log` module
If you want to see log output as Lighthouse runs, include the `lighthouse-logger` module
and set an appropriate logging level in your code. You'll also need to pass
the `logLevel` flag when calling `lighthouse`.
```javascript
const log = require('lighthouse/lighthouse-core/lib/log');
const log = require('lighthouse-logger');

const flags = {logLevel: 'info', output: 'json'};
log.setLevel(flags.logLevel);
Expand Down

0 comments on commit 1347b15

Please sign in to comment.