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 a8019057f4..2168eb91fd 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 @@ public String format(LogRecord record) { private Object nativeLog; public IOSLogHandler() { - setFormatter(new IOSLogFormatter()); + this(new IOSLogFormatter()); + } + + public IOSLogHandler(Formatter customFormatter) { + setFormatter(customFormatter); } @Override