AndroidAPS/app/src/main/java/info/nightscout/androidaps/logging/BundleLogger.java
Milos Kozak 54c83dc374 L.class
2018-07-29 14:39:56 +02:00

22 lines
471 B
Java

package info.nightscout.androidaps.logging;
import android.os.Bundle;
/**
* Created by mike on 14.08.2017.
*/
public class BundleLogger {
public static String log(Bundle bundle) {
if (bundle == null) {
return null;
}
String string = "Bundle{";
for (String key : bundle.keySet()) {
string += " " + key + " => " + bundle.get(key) + ";";
}
string += " }Bundle";
return string;
}
}