logatim icon indicating copy to clipboard operation
logatim copied to clipboard

Pass objects through to browser console. (enhancement)

Open martinhbramwell opened this issue 8 years ago • 0 comments

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.

martinhbramwell avatar Jul 09 '16 13:07 martinhbramwell