gpt4 book ai didi

xamarin.ios - 如何在 Xamarin 中使用 Log4Net

转载 作者:行者123 更新时间:2023-12-02 03:37:50 24 4
gpt4 key购买 nike

我有一个使用 Xamarin MonoTouch 的应用程序,我想在其中使用日志记录框架。通过搜索,我发现了 .Net 平台上广泛使用的 Log4Net ( http://logging.apache.org/log4net/) 库。我找不到将它集成到我的应用程序中的方法。从 Apache 下载 dll 后,是否需要在我的应用程序中进行任何设置?我必须使用任何异常或 console.writeline 消息进行编码才能将其记录在日志中?

是否有任何其他日志记录框架可以与 Xamarin 一起使用?

最佳答案

这是 Log4Net 的 Xamarin/MT 友好分支:

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

关于xamarin.ios - 如何在 Xamarin 中使用 Log4Net,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22255226/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com