From a9f16645e9ed1d794e66f40be2b2af98167dc510 Mon Sep 17 00:00:00 2001 From: Moritz Johner Date: Tue, 30 Apr 2019 15:37:25 +0200 Subject: [PATCH] fix: require path of logger relates to #429 --- docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 8cfb5ad177..e2d2141151 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -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