File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Sources/Winget-AutoUpdate/functions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ function Invoke-LogRotation {
9292
9393 # Log actions
9494 if ($logrotate ) {
95- Write-ToLog " ### Max Standard log size reached: $MaxLogSize bytes - Rotated Logs ### "
95+ Write-ToLog " Max Standard log size reached: $MaxLogSize bytes - Rotated Logs" - IsHeader
9696 }
9797 if ($CM_logrotate ) {
98- Write-ToLog " ### Max CM log size reached: $MaxLogSize bytes - Rotated CM Logs ### "
98+ Write-ToLog " Max CM log size reached: $MaxLogSize bytes - Rotated CM Logs" - IsHeader
9999 }
100100
101101 # end of try block
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ function Write-ToLog {
125125
126126 # Set a small header for CM/Event log
127127 if ($UseCMLog -or $UseEventLog ) {
128- $LogMsg = " ### $LogMsg ###"
128+ $LogMsg = " ### $LogMsg ###"
129129 }
130130 }
131131 else {
You can’t perform that action at this time.
0 commit comments