Update src/archives/logging.fallback.ps1
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
Reference in New Issue
Block a user