/// <summary> /// Logs the detail message. /// </summary> /// <param name="header">The header.</param> /// <param name="message">The message.</param> internal void LogDetailMessage(string header, string message = null) { Details.SetText(string.Concat( header.IsJsonString() ? string.Empty : "// ", header, Environment.NewLine)); if (string.IsNullOrWhiteSpace(message)) { return; } Details.Append(string.Concat( message.IsJsonString() ? string.Empty : "// ", message, Environment.NewLine)); }