File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,6 +193,10 @@ function Get-Config {
193193 SOUNDS_DISABLED = Get-EnvBool - value $envConfig [' SOUNDS_DISABLED' ] - default $false
194194 }
195195
196+ constants = [ordered ]@ {
197+ LOG_SEPARATOR = ' =' * 100
198+ }
199+
196200 defaults = @ {
197201 zendExtensions = @ (' opcache' , ' xdebug' )
198202 extensions = @ (
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function Add-LogEntry {
3535 Show-Message - message " Failed to create directory $ ( Split-Path - Path $logPath ) "
3636 return -1
3737 }
38- $content = " `n -------------------------- "
38+ $content = " `n $ ( $PVMConfig .constants.LOG_SEPARATOR ) "
3939 $content += " `n [$ ( Get-Date - Format ' yyyy-MM-dd HH:mm:ss' ) ] $ ( $data.header ) "
4040 if ($data.exception ) {
4141 $content += " `n Message: $ ( $data.exception.Exception.Message ) "
You can’t perform that action at this time.
0 commit comments