From bdb3808cd0d5ade62ce1331c67d291c2256add2b Mon Sep 17 00:00:00 2001 From: sharpchen Date: Sat, 21 Jun 2025 03:00:43 +0800 Subject: [PATCH] Allow new log levels in Start-EditorServices.ps1 C --- module/PowerShellEditorServices/Start-EditorServices.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/PowerShellEditorServices/Start-EditorServices.ps1 b/module/PowerShellEditorServices/Start-EditorServices.ps1 index 3e445679a..730414e82 100644 --- a/module/PowerShellEditorServices/Start-EditorServices.ps1 +++ b/module/PowerShellEditorServices/Start-EditorServices.ps1 @@ -46,7 +46,7 @@ param( [ValidateNotNullOrEmpty()] $LogPath, - [ValidateSet("Diagnostic", "Verbose", "Normal", "Warning", "Error")] + [ValidateSet(("Diagnostic", "Verbose", "Normal") + ("Trace", "Debug", "Information", "Warning", "Error", "Critical", "None"))] $LogLevel, [ValidateNotNullOrEmpty()]