From b5768f3b6f0e0336bf98bd163f22f4c6f4b2bae9 Mon Sep 17 00:00:00 2001 From: Itamar Lencovsky <4740959+eitamal@users.noreply.github.com> Date: Sat, 21 Jun 2025 20:48:40 +1000 Subject: [PATCH] Add missing MEL log levels to the LogLevel parameter in Start-EditorServices.ps1 (#2235) This commit adds `Trace`, `Debug`, `Information`, `Critical`, and `None` to the validation set on the `LogLevel` parameter when starting PSES using `Start-EditorServices.ps1` to allow for the adoption of the newer MEL log levels. --- 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..827169a9d 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", "Warning", "Error", "Trace", "Debug", "Information", "Critical", "None")] $LogLevel, [ValidateNotNullOrEmpty()]