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
I call a logcat function with default parameters in my kotlin coroutine block like viewModelScope.launch {}, but the tag name seems get from the nested class not from the root class (Eg. StandaloneCoroutine: xxxx). Should we make the tag name more generally or something just like Timber is doing?
The text was updated successfully, but these errors were encountered:
I wrote something similar to this library for our internal use and I also faced the same issue. I solved it by just calling the logcat function with the root class's scope like this this@MyViewModel.logCat { "my log" }.
I call a logcat function with default parameters in my kotlin coroutine block like viewModelScope.launch {}, but the tag name seems get from the nested class not from the root class (Eg. StandaloneCoroutine: xxxx). Should we make the tag name more generally or something just like Timber is doing?
The text was updated successfully, but these errors were encountered: