CleanCode C# Libraries v0.9.23 API

AlignedTextWriterTraceListener Members

AlignedTextWriterTraceListener overview

Public Static Properties

TimestampLength Gets or sets the length of the timestamp.
ProcessIdLength Gets or sets the length of the process ID.
ThreadIdLength Gets or sets the length of the thread ID.
TraceSourceNameLength Gets or sets the length of the trace source name.
TraceEventTypeLength Gets or sets the length of the trace event type.
EventIdLength Gets or sets the length of the event id.
DateFormat Gets or sets the date format.
ShieldSensitiveData Gets or sets sensitive data regular expression selector.

Public Instance Constructors

AlignedTextWriterTraceListener Overloaded. Initializes a new instance of the AlignedTextWriterTraceListener class.

Public Instance Properties

Attributes (inherited from TraceListener)Gets the custom trace listener attributes defined in the application configuration file.
Filter (inherited from TraceListener)Gets and sets the trace filter for the trace listener.
GlobalIndentLevel Gets or sets the global indent level.
IndentLevel (inherited from TraceListener)Gets or sets the indent level.
IndentSize (inherited from TraceListener)Gets or sets the number of spaces in an indent.
IsThreadSafe (inherited from TraceListener)Gets a value indicating whether the trace listener is thread safe.
Name (inherited from TraceListener)Gets or sets a name for this TraceListener.
TraceOutputOptions (inherited from TraceListener)Gets or sets the trace output options.
Writer (inherited from TextWriterTraceListener)Gets or sets the text writer that receives the tracing or debugging output.

Public Instance Methods

Close (inherited from TextWriterTraceListener)Closes the Writer so that it no longer receives tracing or debugging output.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from TraceListener)Overloaded. Releases all resources used by the TraceListener.
DumpFieldWidths Dumps the field widths of each attribute associated with a trace event.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Fail (inherited from TraceListener)Overloaded. Emits an error message to the listener you create when you implement the TraceListener class.
Flush (inherited from TextWriterTraceListener)Flushes the output buffer for the Writer.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object)Returns a String that represents the current Object.
TraceData (inherited from TraceListener)Overloaded. Writes trace information, a data object and event information to the listener specific output.
TraceEventOverloaded. Writes trace information, a formatted array of objects and event information to the listener specific output.
TraceEvent (inherited from TraceListener)Overloaded. Writes trace and event information to the listener specific output.
TraceTransfer (inherited from TraceListener)Writes trace information, a message, a related activity identity and event information to the listener specific output.
Write (inherited from TextWriterTraceListener)Overloaded. Writes a message to this instance's Writer.
Write (inherited from TraceListener)Overloaded. Writes the value of the object's ToString method to the listener you create when you implement the TraceListener class.
WriteLine (inherited from TextWriterTraceListener)Overloaded. Writes a message to this instance's Writer followed by a line terminator. The default line terminator is a carriage return followed by a line feed (\r\n).
WriteLine (inherited from TraceListener)Overloaded. Writes the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.

Protected Instance Properties

DateTimeWanted Gets a value indicating whether the DateTime is enabled.
NeedIndent (inherited from TraceListener)Gets or sets a value indicating whether to indent the output.
ProcessIdWanted Gets a value indicating whether the ProcessId is enabled.
ThreadIdWanted Gets a value indicating whether the ThreadId is enabled.
TimestampWanted Gets a value indicating whether the Timestamp is enabled.

Protected Instance Methods

Dispose (inherited from TextWriterTraceListener)Overloaded. Disposes this TextWriterTraceListener object.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
PrepString Prepares an output string for writing to the TextWriter.
WriteIndent (inherited from TraceListener)Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.

Protected Internal Instance Methods

GetSupportedAttributes (inherited from TraceListener)Gets the custom attributes supported by the trace listener.

See Also

AlignedTextWriterTraceListener Class | CleanCode.Diagnostics Namespace