Update StackMonkey.ps1
This commit is contained in:
@@ -101,7 +101,7 @@ function Write-LogHelper {
|
||||
-EntryType $Level -EventId $EventID `
|
||||
-Message $Message
|
||||
} catch {
|
||||
Write-Host "⚠️ [EventLog] Failed to write: $($_.Exception.Message)" -ForegroundColor Yellow
|
||||
Write-Host "([char]0x26A0) [Warning] [EventLog] Failed to write to Event Log: $($_.Exception.Message)" -ForegroundColor Yellow
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user