Skip to content

Commit 236afb1

Browse files
danezshellscape
authored andcommitted
docs(README): Fix links to source and describe webpack-log (#248)
1 parent bb57ce6 commit 236afb1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,13 @@ recompile when files change, but rather on each request.
9191
### logger
9292

9393
Type: `Object`
94-
Default: [`log`](/webpack/webpack-dev-middleware/blob/master/lib/log.js)
94+
Default: [`webpack-log`](https://github.com/webpack-contrib/webpack-log/blob/master/index.js)
9595

9696
In the rare event that a user would like to provide a custom logging interface,
9797
this property allows the user to assign one. The module leverages
98-
[`loglevel`](https://github.com/pimterry/loglevel#documentation)
99-
for logging management by default, and any custom logger must adhere to the same
98+
[`webpack-log`](https://github.com/webpack-contrib/webpack-log#readme)
99+
for creating the [`loglevelnext`](https://github.com/shellscape/loglevelnext#readme)
100+
logging management by default. Any custom logger must adhere to the same
100101
exports for compatibility. Specifically, all custom loggers must have the
101102
following exported methods at a minimum:
102103

@@ -125,7 +126,7 @@ include:
125126

126127
Setting a log level means that all other levels below it will be visible in the
127128
console. Setting `logLevel: 'silent'` will hide all console output. The module
128-
leverages [`loglevel`](https://github.com/pimterry/loglevel#documentation)
129+
leverages [`webpack-log`](https://github.com/webpack-contrib/webpack-log#readme)
129130
for logging management, and more information can be found on its page.
130131

131132
### logTime
@@ -159,7 +160,7 @@ Type: `Object`
159160
Default: `undefined`
160161

161162
Allows users to provide a custom reporter to handle logging within the module.
162-
Please see the [default reporter](/webpack/webpack-dev-middleware/blob/master/lib/reporter.js)
163+
Please see the [default reporter](/lib/reporter.js)
163164
for an example.
164165

165166
### serverSideRender

0 commit comments

Comments
 (0)