Merge pull request #724 from Romanitho/log

Change `t to spaces for CMTrace
pull/729/head
Romain 2024-09-30 22:53:54 +02:00 committed by GitHub
commit 11274e0463
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function Write-ToLog {
#If header requested
if ($IsHeader) {
$Log = "#" * 65 + "`n#`t$(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern) - $LogMsg`n" + "#" * 65
$Log = "#" * 65 + "`n# $(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern) - $LogMsg`n" + "#" * 65
}
else {
$Log = "$(Get-Date -UFormat "%T") - $LogMsg"