MessageDetailToString Method

Converts the value of this instance to its equivalent string representation.

Definition

Namespace: InnerDrive.Logging
Assembly: InnerDrive.Logging (in InnerDrive.Logging.dll) Version: 5.2.9017.0
C#
public override string ToString()

Return Value

String
A String representation of value of this instance.

Remarks

ToString formats the message detail as follows:
C#
private const string DefaultFormat = "[{0}] {1}: {2}"; // where 0 is timestamp, 1 is name 2 is value
The TimeStamp portion is formatted using the SortableDateTimePattern to allow any sort algorithm to sort any list of MessageDetail items without knowing their internal structures.

See Also