From e1a70bc22c1669f4770d43f6cfc4662d4d2baa3d Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sat, 5 Aug 2017 15:57:54 +0200 Subject: [PATCH] Update documentation --- docs/getting-started.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 66a6cf2e47..6613b68743 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -50,10 +50,10 @@ A logger provider is a function which takes the name of a logger and returns a l function consoleLoggerProvider (name) { // do something with the name return { - debug: console.debug.bind(console), - info: console.info.bind(console), - warn: console.warn.bind(console), - error: console.error.bind(console) + debug: console.log, + info: console.log, + warn: console.log, + error: console.error }; } ```