Add logging command in build tool when explicitly specified
This commit is contained in:
@@ -384,7 +384,11 @@ namespace Flax.Build
|
||||
Stopwatch stopwatch = Stopwatch.StartNew();
|
||||
if (!options.HasFlag(RunOptions.NoLoggingOfRunCommand))
|
||||
{
|
||||
Log.Verbose("Running: " + app + (string.IsNullOrEmpty(commandLine) ? "" : " " + commandLine));
|
||||
var msg = "Running: " + app + (string.IsNullOrEmpty(commandLine) ? "" : " " + commandLine);
|
||||
if (options.HasFlag(RunOptions.ConsoleLogOutput))
|
||||
Log.Info(msg);
|
||||
else
|
||||
Log.Verbose(msg);
|
||||
}
|
||||
|
||||
bool redirectStdOut = (options & RunOptions.NoStdOutRedirect) != RunOptions.NoStdOutRedirect;
|
||||
|
||||
Reference in New Issue
Block a user