GitVersion.Logger.LogMessage C# (CSharp) Method

LogMessage() static private method

static private LogMessage ( Action logAction, string level ) : Action
logAction Action
level string
return Action
        static Action<string> LogMessage(Action<string> logAction, string level)
        {
            return s => logAction(string.Format(CultureInfo.InvariantCulture, "{0}{1} [{2:MM/dd/yy H:mm:ss:ff}] {3}", indent, level, DateTime.Now, s));
        }