diff --git a/Sources/WAU/Winget-AutoUpdate/functions/Write-ToLog.ps1 b/Sources/WAU/Winget-AutoUpdate/functions/Write-ToLog.ps1 index 38f31aa..37f1ee3 100644 --- a/Sources/WAU/Winget-AutoUpdate/functions/Write-ToLog.ps1 +++ b/Sources/WAU/Winget-AutoUpdate/functions/Write-ToLog.ps1 @@ -26,7 +26,7 @@ function Write-ToLog { #If header requested if ($IsHeader) { - $Log = " `n################################################################`n# $(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern) - $LogMsg`n################################################################" + $Log = "#"*65 + "`n#`t$(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern)`n" + "#"*65 } else { $Log = "$(Get-Date -UFormat "%T") - $LogMsg"