Update src/archives/logging.fallback.ps1

This commit is contained in:
2026-01-31 17:47:09 -05:00
parent c83b6b33d2
commit e9b210ad33

View File

@@ -3,22 +3,14 @@ function global:Write-LogHelper {
param ( param (
[Parameter(Mandatory = $true)] [Parameter(Mandatory = $true)]
[string]$Message, [string]$Message,
[ValidateSet("Info", "Warning", "Error", "Success", "General")] [ValidateSet("Info", "Warning", "Error", "Success", "General")]
[string]$Level = "Info", [string]$Level = "Info",
[string]$TaskCategory = "GeneralTask", [string]$TaskCategory = "GeneralTask",
[switch]$LogToEvent = $false, [switch]$LogToEvent = $false,
[string]$EventSource = "SAMY", [string]$EventSource = "SAMY",
[string]$EventLog = "SVSMSP Events", [string]$EventLog = "SVSMSP Events",
[int]$CustomEventID, [int]$CustomEventID,
[string]$LogFile, [string]$LogFile,
[switch]$PassThru [switch]$PassThru
) )