Add logDebugS.

This commit is contained in:
asofold 2017-04-28 21:46:43 +02:00
parent 53f534b3c6
commit 5a901e0f66
1 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,10 @@ public class StaticLog {
StaticLog.streamID = streamID;
}
public static void logDebug(final String msg) {
log(Level.FINE, msg);
}
public static void logInfo(final String msg) {
log(Level.INFO, msg);
}
@ -70,6 +74,10 @@ public class StaticLog {
log(Level.SEVERE, msg);
}
public static void logDebug(final Throwable t) {
log(Level.FINE, StringUtil.throwableToString(t));
}
public static void logInfo(final Throwable t) {
log(Level.INFO, StringUtil.throwableToString(t));
}