mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-15 06:29:24 +01:00
add logging
This commit is contained in:
parent
04a8d242c7
commit
38b9a8f80e
@ -1233,7 +1233,8 @@ public class GBApplication extends Application {
|
|||||||
int resIdNormal = getResources().getIdentifier(resString, "string", packageName);
|
int resIdNormal = getResources().getIdentifier(resString, "string", packageName);
|
||||||
|
|
||||||
if (resIdVariation == 0) {
|
if (resIdVariation == 0) {
|
||||||
//LOG.warn("Missing variation string: " + aString + "_" + variation);
|
// Since this class must not log to slf4j, we use plain android.util.Log
|
||||||
|
Log.i(TAG, "Missing variation string: " + resString + "_" + variation);
|
||||||
return getString(resIdNormal);
|
return getString(resIdNormal);
|
||||||
} else {
|
} else {
|
||||||
return getString(resIdVariation);
|
return getString(resIdVariation);
|
||||||
|
Loading…
Reference in New Issue
Block a user