简体   繁体   中英

Enabling logs in a Web API

I am new to the web development world and I would like to find a way to enable some sort of logs in my Web API project. I think that it will beneficial specially if I need to check any problem the user has in the future. I am using Visual Studio 2012

Thanks

Take a look at ELMAH or log4net or Enterprise Library Logger . An easy way to get your solution up and running with any of these is by using the Nuget Package Installer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM