Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
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.