UITestTraceUtility.StartTracing Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
StartTracing() |
Returns a trace listener stream for tracing that saves log files in the folder that is specified in configuration. |
StartTracing(String) |
Returns a trace listener stream for tracing that saves log files in the specified folder. |
StartTracing(String, String) |
Returns a trace listener stream for tracing that saves log files in the specified folder. |
StartTracing()
Returns a trace listener stream for tracing that saves log files in the folder that is specified in configuration.
public:
static System::Diagnostics::TextWriterTraceListener ^ StartTracing();
public static System.Diagnostics.TextWriterTraceListener StartTracing ();
static member StartTracing : unit -> System.Diagnostics.TextWriterTraceListener
Public Shared Function StartTracing () As TextWriterTraceListener
Returns
A trace listener stream.
Applies to
StartTracing(String)
Returns a trace listener stream for tracing that saves log files in the specified folder.
public:
static System::Diagnostics::TextWriterTraceListener ^ StartTracing(System::String ^ logFolder);
public static System.Diagnostics.TextWriterTraceListener StartTracing (string logFolder);
static member StartTracing : string -> System.Diagnostics.TextWriterTraceListener
Public Shared Function StartTracing (logFolder As String) As TextWriterTraceListener
Parameters
- logFolder
- String
The directory where log files from UI modules are stored.
Returns
A trace listener stream.
Applies to
StartTracing(String, String)
Returns a trace listener stream for tracing that saves log files in the specified folder.
public:
static System::Diagnostics::TextWriterTraceListener ^ StartTracing(System::String ^ baseDirectory, System::String ^ dirName);
public static System.Diagnostics.TextWriterTraceListener StartTracing (string baseDirectory, string dirName);
static member StartTracing : string * string -> System.Diagnostics.TextWriterTraceListener
Public Shared Function StartTracing (baseDirectory As String, dirName As String) As TextWriterTraceListener
Parameters
- baseDirectory
- String
The base folder for the trace files.
- dirName
- String
Name of the folder to create and use to save log files in the baseDirectory
.
Returns
A trace listener stream.