We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18a286c commit e0f576dCopy full SHA for e0f576d
docs/API.md
@@ -18,6 +18,11 @@ Using a JavaScript object:
18
```javascript
19
const styleguidist = require('react-styleguidist');
20
const styleguide = styleguidist({
21
+ logger: {
22
+ warn: console.warn,
23
+ info: console.log,
24
+ debug: console.log,
25
+ },
26
components: './lib/components/**/*.js',
27
webpackConfig: {
28
module: {
@@ -37,6 +42,8 @@ const styleguide = styleguidist({
37
42
});
38
43
```
39
44
45
+**Note:** any output is disabled by default, you may need to define your own [logger](Configuration.md#logger).
46
+
40
47
Using a config file:
41
48
49
0 commit comments