using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Build.Utilities; namespace Capnpc.Csharp.MsBuild.Generation { public static class LogExtensions { public static void LogWithNameTag( this TaskLoggingHelper loggingHelper, Action loggingMethod, string message, params object[] messageArgs) { string fullMessage = $"[SpecFlow] {message}"; loggingMethod?.Invoke(fullMessage, messageArgs); } } }