Navigation Menu

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

GM_log should show line number of the script in console. #56

Closed
dindog opened this issue Sep 24, 2012 · 1 comment
Closed

GM_log should show line number of the script in console. #56

dindog opened this issue Sep 24, 2012 · 1 comment
Labels

Comments

@dindog
Copy link
Contributor

dindog commented Sep 24, 2012

In console, the output of console.log is different from GM_log(), like:
[13:39:22.307] [test@dindog] console.log @ chrome://scriptish/content/scriptish.js -> file:///D:/fx%20profile/amy/scriptish_scripts/test@dindog/test@dindog.user.js:36
[13:39:22.307] [test@dindog] GM_log @ resource://scriptish/utils/Scriptish_injectScripts.js:86

console.log() will show the exact line number of the log was called, which is helpful for debugging. Can you make GM_log() log message show that too?

@erikvold
Copy link
Member

I'm going to archive the repo soon.

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

No branches or pull requests

2 participants