Lukas K-G
10/18/2021, 6:52 AMGrégory Lureau
10/18/2021, 7:28 AMLukas K-G
10/18/2021, 7:30 AMgildor
10/18/2021, 7:42 AMwhich type of logger would you prefer that the lib is usingIf it is an Android library, it’s also completely fine to use android.util.Log, but you should provide some way toenable/disable logging for your users
Kamil Kalisz
10/18/2021, 9:19 AMLukas K-G
10/18/2021, 9:22 AMgildor
10/18/2021, 9:23 AMBut using plain android.util.Log will have some drawbacks, like no possibility to save/store logsIf it can be useful for particular library, sure, but never had a case when I want to save logs from 1 particular library I usually want to save all logs, not logs from particular library and just use
logcat
from the app insteadAdam Powell
10/18/2021, 2:00 PMAdam Powell
10/18/2021, 2:02 PMLukas K-G
10/18/2021, 2:08 PMGrégory Lureau
10/18/2021, 2:47 PMAdam Powell
10/18/2021, 3:16 PMThrowable
reported to a callback is even better.gildor
10/19/2021, 2:33 AMLibraries shouldn’t logMany google libraries do log, and often it helpful for things like analytics (or any other complex SDKs)
Lukas K-G
10/19/2021, 9:38 AMAdam Powell
10/19/2021, 1:36 PMGrégory Lureau
10/19/2021, 4:39 PM