mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
parent
cb47fee248
commit
a9f16645e9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user