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