AlignedTextWriterTraceListener PrepString Method CleanCode C# Libraries v1.2.03 API
Prepares an output string for writing to the OnlineTextWriter.

Namespace: CleanCode.Diagnostics
Assembly: CleanCode (in CleanCode.dll) Version: (1.2.03)

protected string PrepString(
	TraceEventCache eventCache,
	string source,
	TraceEventType eventType,
	int id,
	string message

Return Value

An event log record.

This method formats the output record based on the enabled output options and the field widths. Any subclass should make use of this method to properly format an event record in the style of an AlignedTextWriterTraceListener.
See Also