Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass objects through to browser console. (enhancement) #23

Open
martinhbramwell opened this issue Jul 9, 2016 · 0 comments
Open

Pass objects through to browser console. (enhancement) #23

martinhbramwell opened this issue Jul 9, 2016 · 0 comments

Comments

@martinhbramwell
Copy link

In the browser console, for the page logatim, if I do ...

 logatim.info("String log");

... then I get ...

String log

If I do ...

 console.log("String log");

... then I also get ...

String log

However, if I do ...

 logatim.info(this);

... I only get ...

[object Window]

... whereas, if I do ...

 console.log(this);

... then I will get ...

> Window {external: Object, chrome: Object, document: document, GoogleAnalyticsObject: "ga", React: Object…}

This allows me to browse the object directly, drilling down to check if everything is correct.

It would be great if you could retain that capability.

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

No branches or pull requests

1 participant