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.

另请参见

参考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members