ComponentSpace Trace Listeners Class Library Reference

CyclicFileTraceListener Members

CyclicFileTraceListener overview

Public Static (Shared) Fields

UNLIMITED_FILE_COUNTS Indicates no limit on the maximum number of trace files.

Public Instance Constructors

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

Public Instance Properties

DirectoryName Gets the directory in which to write trace files.
FieldSeparator Gets the field separator in the output.
FilePrefix Gets the prefix used when forming trace file names.
FileSequenceNumber Gets the initial file sequence number.
FileSuffix Gets the suffix used when forming trace file names.
IncludeCallersName Gets the flag indicating whether to include the caller's class and method name.
IncludePidTid Gets the flag indicating whether to include the process and thread identifiers.
IncludeTimeStamp Gets the flag indicating whether to include a timestamp.
IndentLevel (inherited from TraceListener) Gets or sets the indent level.
IndentSize (inherited from TraceListener) Gets or sets the number of spaces in an indent.
MaxFileCount Gets the maximum number of trace files. A zero value indicates no limit is placed on the number of files.
MaxFileSize Gets the maximum size of the trace files in bytes.
Name (inherited from TraceListener) Gets or sets a name for this TraceListener.

Public Instance Methods

Close Close the trace file.
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 .
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Fail (inherited from TraceListener)Overloaded. Emits an error message, and a detailed error message to the listener you create when you implement the TraceListener class.
Flush Flush the trace file.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
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.
Write (inherited from TraceListener)Overloaded. Writes a category name and the value of the object's ToString method to the listener you create when you implement the TraceListener class.
WriteOverloaded. Write the message to the trace file.
WriteLine (inherited from TraceListener)Overloaded. Writes a category name and the value of the object's ToString method to the listener you create when you implement the TraceListener class, followed by a line terminator.
WriteLineOverloaded. Write the message and a new line to the trace file.

Protected Instance Properties

NeedIndent (inherited from TraceListener) Gets or sets a value indicating whether to indent the output.

Protected Instance Methods

DisposeOverloaded. Releases the unmanaged resources used by the CyclicFileTraceListener and optionally releases the managed resources.
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 Object) Creates a shallow copy of the current Object.
WriteIndent (inherited from TraceListener) Writes the indent to the listener you create when you implement this class, and resets the NeedIndent property to false.

See Also

CyclicFileTraceListener Class | ComponentSpace.TraceListeners Namespace