We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8eed2 commit 78ac77dCopy full SHA for 78ac77d
module/PowerShellEditorServices/Start-EditorServices.ps1
@@ -107,5 +107,13 @@ param(
107
$DebugServiceOutPipeName
108
)
109
110
+#Translate legacy PSES log levels to MEL levels
111
+$LogLevel = switch ($LogLevel) {
112
+ 'Diagnostic' { 'Trace' }
113
+ 'Verbose' { 'Debug' }
114
+ 'Normal' { 'Information' }
115
+ default { $LogLevel }
116
+}
117
+
118
Import-Module -Name "$PSScriptRoot/PowerShellEditorServices.psd1"
119
Start-EditorServices @PSBoundParameters
0 commit comments