Forum Discussion

Jahnavi_B's avatar
Jahnavi_B
New Member
2 years ago

Where does Diagnostic Trace gets saved in Power Query VS code

We are creating a custom connector and implemented a diagnostic log functions in Visual Studio Code but we are unable to trace those logging information and not sure where it is getting saved.

 

 Diagnostics.Trace(TraceLevel.Information, "Tenant Id is been saved", () => tenantId, true); as we used this diagnostic function, but unable to trace this log message in output panel of VS Code. We are not getting any kind of Error. Could u please let us know whether Diagnostic.Trace is supported in VS Code.

4 Replies

    • Jahnavi_B's avatar
      Jahnavi_B
      New Member

      Hii Yolo Zhu,

      The above link which you have sent to refer is in C#, but we are using M language for our connector. Could u please help us on the same.

  • BL123456's avatar
    BL123456
    Frequent Visitor

    Run into the same issue, could anyone from the Microsoft team assist here?