Prepares an output string for writing to the
TextWriter.
Namespace: CleanCode.Diagnostics
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
protected string PrepString( TraceEventCache eventCache, string source, TraceEventType eventType, int id, string message )
Parameters
- eventCache
- Type:
System.Diagnostics TraceEventCache
The event cache.
- source
- Type:
System String
The name of the TraceSource.
- eventType
- Type:
System.Diagnostics TraceEventType
The event type.
- id
- Type:
System Int32
The event ID.
- message
- Type:
System String
The message.
Return Value
An event log record.Remarks
See Also