Skip to content

Commit b5768f3

Browse files
committed
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.
1 parent 3a429ea commit b5768f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/PowerShellEditorServices/Start-EditorServices.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ param(
4646
[ValidateNotNullOrEmpty()]
4747
$LogPath,
4848

49-
[ValidateSet("Diagnostic", "Verbose", "Normal", "Warning", "Error")]
49+
[ValidateSet("Diagnostic", "Verbose", "Normal", "Warning", "Error", "Trace", "Debug", "Information", "Critical", "None")]
5050
$LogLevel,
5151

5252
[ValidateNotNullOrEmpty()]

0 commit comments

Comments
 (0)