Add logDebugS.
This commit is contained in:
parent
53f534b3c6
commit
5a901e0f66
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue