最佳记录器的可可 [英] Best Logger for cocoa

查看:110
本文介绍了最佳记录器的可可的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以推荐我一个好的可可记录器,这应该与log4j一样。

Can anyone recommend me a good logger for cocoa, something that should be in par with log4j.

我一直在开发这个应用程序在可可&随着源代码的增长,我发现我对一个记录器的渴望。我已经google了一下,找到了几个选项,但我希望听到你们的&

I've been developing this app in cocoa & as the source code is growing I find my self craving for a logger. I've googled a bit, have found a few options but I am looking to hear from you guys & your experiences with these loggers.

推荐答案

我期待收到您的意见。 >

Apple System Logger是OS X日志记录系统。最好的介绍是Peter Hosey关于这个主题的系列博客。 ASL通过C API访问,但是在Objective-C中包装并不困难。我已放弃我的首页封装,支持 c> GTMLogger 工具 Google的Toolbox for Mac ,其中包括ASL支持。

Apple System Logger is the OS X logging system. The best introuction is Peter Hosey's series of blogs on the subject. The ASL is accessed via a C API, but it's not difficult to wrap in Objective-C. I've given up my homespun wrapper in favor of the GTMLogger facility in Google's Toolbox for Mac, which includes ASL support.

这篇关于最佳记录器的可可的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆