diff options
Diffstat (limited to 'src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java')
-rw-r--r-- | src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java b/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java new file mode 100644 index 0000000..2be644d --- /dev/null +++ b/src/main/java/com/keuin/ohmyvanillamc/DebugUtil.java @@ -0,0 +1,7 @@ +package com.keuin.ohmyvanillamc; + +public class DebugUtil { + public static void printThreadInfo(String mark) { + System.out.printf("[%s] Thread %s : id=%d%n", mark, Thread.currentThread().getName(), Thread.currentThread().getId()); + } +} |