setLogWriter Method (SQLServerDataSource)
Sets a character output stream to be used for all logging and tracing messages.
public void setLogWriter(java.io.PrintWriter out)
参数
out
A PrintWriter object, or null if the log writer is disabled.
备注
This setLogWriter method is specified by the setLogWriter method in the javax.sql.DataSource interface.