1
0
Fork 0

little refinement

This commit is contained in:
xeviff 2023-03-21 18:43:15 +01:00
parent 123d5231b3
commit e0e95047dc
1 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,10 @@ public class Output {
}
public static void log (String msg, Object... params) {
try {
log(msg(msg, params));
if (params.length>1)
log(msg(msg, params));
else
log(msg);
} catch (Exception e) {
log("error trying to log with msg="+msg+" and params "+Arrays.toString(params));
}