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 just realized that we are missing the simple exception logger.
ie.
Logger.e(Exception("some message2"))
Logger.w(Exception("some message1"))
// and the other variations
Where it comes from ? In order to track some small exceptions individually to Firebase. Like this,
Logger.e(e)
Logger.w(e)
// and the other variations
Currently we have to do this
Logger.e(e) { "some message" }
Logger.w(e) { "some message" }
// and the other variations
perhaps we can have some extension methods of Logger in the library
ie.
fun Logger.e(throwable:Throwable) = e(throwable) { throwable.message.toString() }
fun Logger.w(throwable:Throwable) = w(throwable) { throwable.message.toString() }
// and the other variations
This discussion was converted from issue #208 on March 20, 2022 12:31.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just realized that we are missing the simple exception logger.
ie.
Where it comes from ? In order to track some small exceptions individually to Firebase. Like this,
Currently we have to do this
perhaps we can have some extension methods of Logger in the library
ie.
Beta Was this translation helpful? Give feedback.
All reactions