Fix a few instances of wrong log format string. XLogger only supports %s, so this cl updates usages of %d with %s. Log statements will now properly align the parameters with the format string. PiperOrigin-RevId: 591315436
diff --git a/jre_emul/Classes/com/google/j2objc/util/logging/IOSLogHandler.java b/jre_emul/Classes/com/google/j2objc/util/logging/IOSLogHandler.java index a801905..2168eb9 100644 --- a/jre_emul/Classes/com/google/j2objc/util/logging/IOSLogHandler.java +++ b/jre_emul/Classes/com/google/j2objc/util/logging/IOSLogHandler.java
@@ -122,7 +122,11 @@ private Object nativeLog; public IOSLogHandler() { - setFormatter(new IOSLogFormatter()); + this(new IOSLogFormatter()); + } + + public IOSLogHandler(Formatter customFormatter) { + setFormatter(customFormatter); } @Override