diff src/name/blackcap/exifwasher/Files.kt @ 5:dc1f4359659d

Got it compiling.
author David Barts <n5jrn@me.com>
date Thu, 09 Apr 2020 18:20:34 -0700
parents 19c381c536ec
children cd2ca4727b7f
line wrap: on
line diff
--- a/src/name/blackcap/exifwasher/Files.kt	Wed Apr 08 21:31:30 2020 -0700
+++ b/src/name/blackcap/exifwasher/Files.kt	Thu Apr 09 18:20:34 2020 -0700
@@ -76,9 +76,9 @@
     }
 }
 
-System.setProperty("java.util.logging.SimpleFormatter.format",
-    "%1$tFT%1$tT%1$tz %2$s%n%4$s: %5$s%6$s%n")
 val LOGGER = run {
+    System.setProperty("java.util.logging.SimpleFormatter.format",
+        "%1\$tFT%1\$tT%1\$tz %2\$s%n%4\$s: %5\$s%6\$s%n")
     LF_DIR.makeIfNeeded()
     Logger.getLogger(LONGNAME).apply {
         addHandler(FileHandler(LOG_FILE.toString()).apply {