How to use Log4Net in Xamarin

一世执手 提交于 2019-12-13 15:10:42

问题


I have a app using Xamarin MonoTouch and i want to use logging framework in it. Searching i came across Log4Net (http://logging.apache.org/log4net/) library popularly used on .Net platform. I couldn't find a way to integrate it in my app. Once i download the dll from Apache, is there any setting i have to do in my app? What i have to code with any exception or console.writeline message to get that in log?

Is there any other logging framework that can be used with Xamarin?


回答1:


Here is a Xamarin/MT friendly fork of Log4Net:

https://github.com/drunkirishcoder/monotouch-log4net



来源:https://stackoverflow.com/questions/22255226/how-to-use-log4net-in-xamarin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!