You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static method addLogListener is shared between multiple instance of Logger in different packages, which causes the caught exception in main package still being reported because the other package is logging the exception as error.
as you see in my main app I have caught the exception, but the SpotifySDK (third party package) reporting the exception as error and collides with my logger extension! and cause unwanted logging errors!
Is it possible to make it instance method?
The text was updated successfully, but these errors were encountered:
Hi, yeah, sounds like a good idea.
What do you think about renaming these ones to addGlobalLogListener and naming the new per-instance ones addLogListener? Would make more sense to me.
Hi,
static method
addLogListener
is shared between multiple instance of Logger in different packages, which causes the caught exception in main package still being reported because the other package is logging the exception as error.as you see in my main app I have caught the exception, but the SpotifySDK (third party package) reporting the exception as error and collides with my logger extension! and cause unwanted logging errors!
Is it possible to make it instance method?
The text was updated successfully, but these errors were encountered: