in TeamCity.ServiceMessages/Write/Special/Impl/Writer/TeamCityMessageWriter.cs [34:45]
private void Write([NotNull] string text, string details, [NotNull] string status)
{
if (text == null) throw new ArgumentNullException(nameof(text));
if (status == null) throw new ArgumentNullException(nameof(status));
var msg = new ServiceMessage("message") {{"text", text}, {"status", status}, {"tc:tags", "tc:parseServiceMessagesInside"}};
if (!string.IsNullOrEmpty(details))
{
msg.Add("errorDetails", details);
}
PostMessage(msg);
}