summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2020-08-02 18:31:50 +0800
committerkeuin <[email protected]>2020-08-02 18:31:50 +0800
commitd9c2af035ac2edb68bc8b6a1f94b7c772c3509c8 (patch)
tree4a27dd9a313090ae75d35e4d27d5bdd40b1eb218 /src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
parentf09d420df609194a17e9d9ec63d710df8135aa8e (diff)
Refactor & object tree impl. stage 1
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
index 8839993..81c6a33 100644
--- a/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
+++ b/src/main/java/com/keuin/kbackupfabric/util/PrintUtil.java
@@ -80,18 +80,34 @@ public final class PrintUtil {
return context;
}
+ /**
+ * Print debug message on the server console.
+ * @param string the message.
+ */
public static void debug(String string) {
LOGGER.debug("[KBackup] " + string);
}
+ /**
+ * Print informative message on the server console.
+ * @param string the message.
+ */
public static void info(String string) {
LOGGER.info("[KBackup] " + string);
}
+ /**
+ * Print warning message on the server console.
+ * @param string the message.
+ */
public static void warn(String string) {
LOGGER.warn("[KBackup] " + string);
}
+ /**
+ * Print error message on the server console.
+ * @param string the message.
+ */
public static void error(String string) {
LOGGER.error("[KBackup] " + string);
}