A trace listener that writes to a separate file per domain and process using it.
More...
|
override void | Dispose (bool disposing) |
| Releases the unmanaged resources used by the T:System.IO.TextWriter and optionally releases the managed resources. More...
|
|
|
override System.Text.Encoding | Encoding [get] |
| Returns the character encoding in which the output is written. More...
|
|
A trace listener that writes to a separate file per domain and process using it.
NUnit.Common.InternalTraceWriter.InternalTraceWriter |
( |
string |
logPath | ) |
|
|
inline |
Construct an InternalTraceWriter that writes to a file.
- Parameters
-
logPath | Path to the file to use |
NUnit.Common.InternalTraceWriter.InternalTraceWriter |
( |
TextWriter |
writer | ) |
|
|
inline |
Construct an InternalTraceWriter that writes to a TextWriter provided by the caller.
- Parameters
-
override void NUnit.Common.InternalTraceWriter.Write |
( |
char |
value | ) |
|
|
inline |
Writes a character to the text string or stream.
- Parameters
-
value | The character to write to the text stream. |
override void NUnit.Common.InternalTraceWriter.Write |
( |
string |
value | ) |
|
|
inline |
Writes a string to the text string or stream.
- Parameters
-
value | The string to write. |
override void NUnit.Common.InternalTraceWriter.WriteLine |
( |
string |
value | ) |
|
|
inline |
Writes a string followed by a line terminator to the text string or stream.
- Parameters
-
value | The string to write. If value is null, only the line terminator is written. |
Referenced by NUnit.Common.InternalTrace.Initialize().
override void NUnit.Common.InternalTraceWriter.Dispose |
( |
bool |
disposing | ) |
|
|
inlineprotected |
Releases the unmanaged resources used by the T:System.IO.TextWriter and optionally releases the managed resources.
- Parameters
-
disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
override void NUnit.Common.InternalTraceWriter.Flush |
( |
| ) |
|
|
inline |
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
TextWriter NUnit.Common.InternalTraceWriter.writer |
|
private |
object NUnit.Common.InternalTraceWriter.myLock = new object() |
|
private |
override System.Text.Encoding NUnit.Common.InternalTraceWriter.Encoding |
|
get |
Returns the character encoding in which the output is written.
- Returns
- The character encoding in which the output is written.
The documentation for this class was generated from the following file: