Skip to content
This repository has been archived by the owner. It is now read-only.

Conversation

@pandmitr
Copy link
Member

By pandmitr

By pandmitr
@Manriel
Copy link
Member

Manriel commented Feb 26, 2016

This solution does not log javascript call stack trace, that logged by console.log() function.
That means we going to get minimized part of jQuery library when occurring an error into event-callback, like this:
$('selector').on('event', function(event) { errorcode(); })

@Manriel
Copy link
Member

Manriel commented Feb 26, 2016

Also we need a feature, that stops logging. This will prevent the uncontrolled growth of the log file on a production systems.
But the best thing is backwards: the flag, which turn this logging to on, if it's necessary.
I think, it may be the "DEBUG=true" cookie, that already used to show debug log by dbg() function now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Development

Successfully merging this pull request may close these issues.

3 participants