Message.ToString Method Definition Returns a string representation of this message. public override string ToString(); View source Returns String The Level and Code (if set) followed by the Text.