Align the logging format of the IosLoggerBackend with the XLogger.

Replaces the logging handler with a handler that supports the same format as the XLogger. Otherwise only the raw string is logged to console.

PiperOrigin-RevId: 591315434
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