private void Log(string message) { if (string.IsNullOrWhiteSpace(message)) { return; } _messages.Append(string.Concat( message.IsJsonString() ? string.Empty : "// ", message, Environment.NewLine)); }
private void Log(string message) { if (string.IsNullOrWhiteSpace(message)) { return; } _messages.Append(string.Concat( message.IsJsonString() ? string.Empty : "// ", DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff - "), message, Environment.NewLine)); }