Sdílet prostřednictvím


ICommonDataSource.LogWriter Property

Definition

Retrieves a log writer which is a character output stream to which all logging and tracing messages for this data source will be printed.

public Java.IO.PrintWriter? LogWriter { [Android.Runtime.Register("getLogWriter", "()Ljava/io/PrintWriter;", "GetGetLogWriterHandler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setLogWriter", "(Ljava/io/PrintWriter;)V", "GetSetLogWriter_Ljava_io_PrintWriter_Handler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getLogWriter", "()Ljava/io/PrintWriter;", "GetGetLogWriterHandler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setLogWriter", "(Ljava/io/PrintWriter;)V", "GetSetLogWriter_Ljava_io_PrintWriter_Handler:Javax.Sql.ICommonDataSourceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.LogWriter : Java.IO.PrintWriter with get, set

Property Value

Attributes

Exceptions

An exception threw when a data base access error occurs.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to