diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-09-08 08:35:06 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-09-08 08:35:06 +0200 |
commit | 6e176cba9a3207b9b3a0f540abe41c2c86c9bf9f (patch) | |
tree | aad700b6cd6ba64f292a64589ba249e086691695 /src/main/java/at/hannibal2/skyhanni/utils | |
parent | a86a2f50c910e371dbea6fc17b7339b57040d62e (diff) | |
download | skyhanni-6e176cba9a3207b9b3a0f540abe41c2c86c9bf9f.tar.gz skyhanni-6e176cba9a3207b9b3a0f540abe41c2c86c9bf9f.tar.bz2 skyhanni-6e176cba9a3207b9b3a0f540abe41c2c86c9bf9f.zip |
fixed LorenzLogger printing output into console
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt b/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt index c9c9d55c5..22977b468 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/LorenzLogger.kt @@ -41,6 +41,7 @@ class LorenzLogger(filePath: String) { val handler = FileHandler(fileName) handler.encoding ="utf-8" logger.addHandler(handler) + logger.useParentHandlers = false handler.formatter = object : Formatter() { override fun format(logRecord: LogRecord): String { val message = logRecord.message |