question

DanielArroyoBlanco-8123 avatar image
0 Votes"
DanielArroyoBlanco-8123 asked Meghana-MSFT published

Logger in Node

Good morning everyone, I have created a node project for Teams through the visual studio code toolkit with an SSO functionality to automatically detect my Teams account.
This has created a class structure with archvis .tsx (since I have chosen the Typescript language).
I need to automatically log all system logs, including errors and warnings, to a file, how can I do this?
I have read on the internet that it is possible with the Winston library, but I cannot find information that will help me for my project

Can anyone help me? Thanks a lot

office-teams-app-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DanielArroyoBlanco-8123 ,
Thank you for your query . We have added appropriate tag to bring attention of right people for this thread. The teams developer community will review this soon .

0 Votes 0 ·

1 Answer

Meghana-MSFT avatar image
0 Votes"
Meghana-MSFT answered Meghana-MSFT published

@DanielArroyoBlanco-8123

Could you please confirm weather you want logs for teams client or you want logging for your custom code? Just to help if it is related to teams you can refer this - Use log files to monitor and troubleshoot Microsoft Teams. For custom code you can refer any library as per your feasibility.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DanielArroyoBlanco-8123

Could you please let us know if you still have the issue?

0 Votes 0 ·