Java DriverManager. Getlogwriter() method: get the printout stream of the log

getLogWriter()

Example

PrintWriter out=null;
out=DriverManager.getLogWriter();
if(out!=null){
  out.println("得到信息");
  out.close();
}
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>