From a0a79c34bc936075cc2c987a772499b1f7d289d5 Mon Sep 17 00:00:00 2001 From: dsgouda Date: Thu, 15 Mar 2018 20:15:59 +0000 Subject: [PATCH] logging invoker information to file --- tools/generateTool.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/generateTool.ps1 b/tools/generateTool.ps1 index c27d0a40b68c5..7d1cd3243e708 100644 --- a/tools/generateTool.ps1 +++ b/tools/generateTool.ps1 @@ -98,10 +98,10 @@ function Start-Script { $invokerMessage = ".\tools\generate.ps1 was invoked by" if($PowershellInvoker) { - $outputStream.Append("$invokerMessage generate.ps1") | Out-Null + Write-InfoLog "$invokerMessage generate.ps1" -logToFile } else { - $outputStream.Append("$invokerMessage generate.cmd") | Out-Null + Write-InfoLog "$invokerMessage generate.cmd" -logToFile } }