public void TestThatTeamCityErrorMessageIsProperlyFormatted() { _tcServiceMessageLogger.Error(MESSAGE, ""); var returnedMessage = GetMessages().Single(); Assert.That(returnedMessage, Is.EqualTo(string.Format("##teamcity[message text='{0}' errorDetails='' status='{1}']", MESSAGE, TeamCityMessageStatus.ERROR))); }
public static void Error(string message, params object[] formatArgs) { InternalLogger.Error(message, null, formatArgs); }
public static void Error(string message, params object[] formatArgs) { _log.Error(message, null, formatArgs); }