Mercurial > cgi-bin > hgweb.cgi > JpegWasher
comparison 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 |
comparison
equal
deleted
inserted
replaced
4:ba5dc14652da | 5:dc1f4359659d |
---|---|
74 BufferedReader(InputStreamReader(FileInputStream(PROP_FILE), CHARSET)).use { | 74 BufferedReader(InputStreamReader(FileInputStream(PROP_FILE), CHARSET)).use { |
75 load(it) | 75 load(it) |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 System.setProperty("java.util.logging.SimpleFormatter.format", | |
80 "%1$tFT%1$tT%1$tz %2$s%n%4$s: %5$s%6$s%n") | |
81 val LOGGER = run { | 79 val LOGGER = run { |
80 System.setProperty("java.util.logging.SimpleFormatter.format", | |
81 "%1\$tFT%1\$tT%1\$tz %2\$s%n%4\$s: %5\$s%6\$s%n") | |
82 LF_DIR.makeIfNeeded() | 82 LF_DIR.makeIfNeeded() |
83 Logger.getLogger(LONGNAME).apply { | 83 Logger.getLogger(LONGNAME).apply { |
84 addHandler(FileHandler(LOG_FILE.toString()).apply { | 84 addHandler(FileHandler(LOG_FILE.toString()).apply { |
85 formatter = SimpleFormatter() }) | 85 formatter = SimpleFormatter() }) |
86 level = Level.CONFIG | 86 level = Level.CONFIG |