Update src/archives/logging.fallback.ps1
This commit is contained in:
@@ -3,22 +3,14 @@ function global:Write-LogHelper {
|
||||
param (
|
||||
[Parameter(Mandatory = $true)]
|
||||
[string]$Message,
|
||||
|
||||
[ValidateSet("Info", "Warning", "Error", "Success", "General")]
|
||||
[string]$Level = "Info",
|
||||
|
||||
[string]$TaskCategory = "GeneralTask",
|
||||
|
||||
[switch]$LogToEvent = $false,
|
||||
|
||||
[string]$EventSource = "SAMY",
|
||||
|
||||
[string]$EventLog = "SVSMSP Events",
|
||||
|
||||
[int]$CustomEventID,
|
||||
|
||||
[string]$LogFile,
|
||||
|
||||
[switch]$PassThru
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user