diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-06 20:25:55 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-05-06 20:25:55 +0200 |
commit | 1e6e88be3a9d5660ccd667b5734dc7c4a1442966 (patch) | |
tree | 3a734cecbffbf4e0148f74c1c48f3dc42f5841c8 /src/main/java/at/hannibal2/skyhanni/test | |
parent | e9ed2d6ba7dc3173e92649c504c7b6d821bcfe29 (diff) | |
download | skyhanni-1e6e88be3a9d5660ccd667b5734dc7c4a1442966.tar.gz skyhanni-1e6e88be3a9d5660ccd667b5734dc7c4a1442966.tar.bz2 skyhanni-1e6e88be3a9d5660ccd667b5734dc7c4a1442966.zip |
Added command logging
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/test')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt b/src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt new file mode 100644 index 000000000..d7403c626 --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/test/CommandsSendToServerLogger.kt @@ -0,0 +1,13 @@ +package at.hannibal2.skyhanni.test + +import at.hannibal2.skyhanni.SkyHanniMod + +class CommandsSendToServerLogger { + companion object { + fun logCommandsToServer(command: String) { + if (SkyHanniMod.feature.dev.commandLogs) { + Exception("command send to server: '$command'").printStackTrace() + } + } + } +}
\ No newline at end of file |