From dc2d741791ac0f94d6eb2d322da1a9c7b87a1e95 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Wed, 27 Jun 2018 17:16:21 -0700 Subject: [PATCH] Add logging, formatting, and '$EnabledExperimentalFeatures' --- .../PowerShell.Core.Instrumentation.man | 65 ++++++++ .../PowerShellCore_format_ps1xml.cs | 31 ++++ .../ExperimentalFeature.cs | 140 +++++++++--------- .../engine/Modules/ModuleCmdletBase.cs | 2 +- .../engine/SessionState.cs | 9 +- .../engine/SpecialVariables.cs | 16 +- .../engine/parser/TypeResolver.cs | 4 +- .../engine/remoting/common/PSETWTracer.cs | 5 + .../resources/Logging.resx | 9 ++ .../resources/RunspaceInit.resx | 3 + 10 files changed, 197 insertions(+), 87 deletions(-) diff --git a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man index 33c0a5f519..491e4a8746 100644 --- a/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man +++ b/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man @@ -98,6 +98,29 @@ value="0xD003" version="1" /> + + + + + +