aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-08 12:06:49 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-08 12:06:49 +0200
commitc167f4e84e22da7b7c4405b5d59c817734654fc0 (patch)
tree5f934dbf5d577aa1c91ee697a06a67b0bb36dd23 /src/main/java/at
parenta2087e9a2fa43e13e4276b81ac7235f441a5c28d (diff)
downloadskyhanni-c167f4e84e22da7b7c4405b5d59c817734654fc0.tar.gz
skyhanni-c167f4e84e22da7b7c4405b5d59c817734654fc0.tar.bz2
skyhanni-c167f4e84e22da7b7c4405b5d59c817734654fc0.zip
start with custom config
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/lorenz/mod/LorenzDebug.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/at/lorenz/mod/LorenzDebug.kt b/src/main/java/at/lorenz/mod/LorenzDebug.kt
index 7687727a9..61eb09065 100644
--- a/src/main/java/at/lorenz/mod/LorenzDebug.kt
+++ b/src/main/java/at/lorenz/mod/LorenzDebug.kt
@@ -1,6 +1,7 @@
package at.lorenz.mod
import at.lorenz.mod.utils.LorenzLogger
+import at.lorenz.mod.utils.LorenzUtils
object LorenzDebug {
@@ -10,4 +11,9 @@ object LorenzDebug {
logger.log(text)
println("debug logger: $text")
}
+
+ fun writeAndLog(text: String) {
+ LorenzUtils.debug(text)
+ log(text)
+ }
} \ No newline at end of file