boidushya / better-lyrics

Better Lyrics for Youtube Music - Enhance YouTube Music with beautiful time-synced lyrics, multilingual support, real-time translations and more ✨
https://better-lyrics.boidu.dev
GNU General Public License v3.0
115 stars 12 forks source link

make logging show the line number of the log #94

Closed varun7654 closed 1 week ago

varun7654 commented 1 week ago

Description

Have calls to BetterLyrics.Utils.log(...) show the line number of where to log occurred.

The original function is kept so that it can be used when the async calls to storage work. Also resolves issues with out of order logs due to the logging previously being async due to the storage callbacks.

Does have the downside of not being able to enable/disable logging without a reboot, but the qol is worth it imo

vercel[bot] commented 1 week ago

@varun7654 is attempting to deploy a commit to the Boidushya's projects Team on Vercel.

A member of the Team first needs to authorize it.