logatim
logatim copied to clipboard
Pass objects through to browser console. (enhancement)
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.