Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Feature: Debug Mode #6

Closed
kreck opened this issue Sep 17, 2015 · 1 comment
Closed

Feature: Debug Mode #6

kreck opened this issue Sep 17, 2015 · 1 comment

Comments

@kreck
Copy link

kreck commented Sep 17, 2015

Awesome Product, i'm excited to see it grow further (especially the dashboard on AWS).

On the JS SDK: it would be perfect to have an optional "Debug Mode" that logs Event submissions to the Console. Currently it's really hard to determine if it actually "works" when i'm running outside the browser on a mobile device WebView (Cordova).

Cheers

@cheruvian
Copy link
Contributor

Hi kreck,

You can pass a logger object as part of the AMA.Client.Options object.

It accepts a logger object designed in such a way that you can just pass it console (since console has .log, .error, .info, .debug).

If you are developing on Cordova/Phonegap you can use the PhoneGap Developer App which will proxy the console logs from a mobile device back to your desktop.

Thanks,
RIL@AWS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants