1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: require path of logger

relates to #429
This commit is contained in:
Moritz Johner 2019-04-30 15:37:25 +02:00 committed by Ivar Conradi Østhus
parent cb47fee248
commit a9f16645e9

View File

@ -95,7 +95,7 @@ Custom logger providers need to be set _before requiring the `unleash-server` mo
```javascript
// first configure the logger provider
const unleashLogger = require('unleash-server/logger');
const unleashLogger = require('unleash-server/lib/logger');
unleashLogger.setLoggerProvider(consoleLoggerProvider);
// then require unleash-server and continue as normal