This commit is contained in:
2026-04-09 11:04:36 +02:00
parent 52af6a99e6
commit 9333bfbf8b

View File

@@ -23,7 +23,7 @@ $GitHubLatestApi = "https://api.github.com/repos/grafana/alloy/releases/latest"
function Write-Log {
param([string]$Message, [string]$Level = "INFO")
$line = "[{0}] [{1}] {2}" -f (Get-Date -Format "yyyy-MM-dd HH:mm:ss"), $Level, $Message
Write-Host $line -ForegroundColor (If ($Level -eq "ERROR") { "Red" } Else { "White" })
Write-Host $line
}
function Ensure-Directory {