Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm][debugger] Improving logging control for tests #42175

Merged
merged 1 commit into from
Sep 17, 2020

Commits on Sep 15, 2020

  1. [wasm][debugger] Improving logging control for tests

    - replace CWLs with log messages
    - Fix use of loggerFactory, and logger to correctly configure them, and
    allow being controlled via appsettings.json
    
    - Also, add default settings for proxy also, just an example:
    
    ```
         "LogLevel": {
           "Default": "Error",
           "Microsoft": "Warning",
           "Microsoft.WebAssembly.Diagnostics.TestHarnessProxy": "Information",
           "Microsoft.WebAssembly.Diagnostics.DevToolsProxy": "Information",
           "DebuggerTests.Inspector": "Information"
        }
    ```
    
    Eg. to see trace messages (eg. protocol chat) for the test proxy:
        `"Microsoft.WebAssembly.Diagnostics.TestHarnessProxy": "Trace"`
    radical committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    f03dd52 View commit details
    Browse the repository at this point in the history