Share via

Logger in Node

Daniel Arroyo Blanco 1 Reputation point
2021-08-19T08:31:24.793+00:00

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

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs


1 answer

Sort by: Most helpful
  1. Anonymous
    2021-08-25T16:15:07.247+00:00

    @Daniel Arroyo Blanco

    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.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.