Can I get a trace of TypeScript statements executed in a SharePoint SPFx client web part?
-
08-12-2020 - |
Pergunta
Is there a way with gulp serve to get a trace of TypeScript statements that are executed in a SPFx client application ?
Solução
There is some logging support built into the framework. Documentation can be found here - https://github.com/SharePoint/sp-dev-docs/wiki/Working-with-the-Logging-API , and a blog post by Wictor here - http://www.wictorwilen.se/sharepoint-framework-nuggets-logging-like-a-pro
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange