amplitude / Amplitude-JavaScript

JavaScript SDK for Amplitude
MIT License
314 stars 132 forks source link

logLevel: INFO still not logging anything #515

Closed bapjiws closed 2 years ago

bapjiws commented 2 years ago

Expected Behavior

See some console logs when logLevel is set to INFO. The issue has already been discussed in https://github.com/amplitude/Amplitude-JavaScript/issues/156.

Current Behavior

Nothing happens. Also, the docs say:

Screenshot 2022-03-24 at 13 44 38

But there is nothing below regarding logLevel 🙂

Steps to Reproduce

amplitude.getInstance().init('API_KEY', null, { logLevel: 'INFO' });

Environment

dnshi commented 2 years ago

Tested on JS SDK Version '8.18.0'. The info log and the log for the other log level can be shown in the console while the logLevel sets to "INFO".

image

image

dnshi commented 2 years ago

Close this issue. If it still has the issue regarding logging anything, please reopen it. Thanks.