有没有办法把两者
String并Object[]以
java.util.logging.Logger中。
我会转换
String[]为
String并使用:
public void log(Level level, String msg, Throwable thrown)
您还可以创建log指向的自己的方法,
java.util.logging.Logger.log例如:
public void log(Level level, String msg, Object[] obj, Throwable thrown){ //StringBuilder buff = ... // some string manipulation with 'msg' and 'obj' // ... log(level, buff.toString(), thrown);}


