FRCSVFormatter 0.0.2

FRCSVFormatter 0.0.2

测试已测试
语言语言 Obj-CObjective C
许可协议 MIT
发布上次发布2015年3月

Jonathan Dalrymple维护。



  • 作者:
  • Jonathan Dalrymple

FRCSVFormatter 是用于强大的 CocoaLumberjack 日志框架的日志格式化程序

它使用简单方便,您只需在您设置的日志位置将其设置为选择的格式化程序。

FRCSVFormatter  *formatter;
id              logger;

formatter = [[[FRCSVFormatter alloc] init] autorelease];

logger = [[[AmazingLogger alloc] init] autorelease];

[logger setFormatter:formatter];

[DDLog addLogger:logger];

示例输出如下所示

2011-07-14 13:52:02:449,    ,didFinishLaunchingWithOptions (null),207,fbchatAppDelegate,120
2011-07-14 13:52:02:459,    ,Background operations 0,6803,MCConnectionManager,127
2011-07-14 13:52:02:484,    ,Loading session for [email protected],207,MCLoginViewController,108
2011-07-14 13:52:02:485,    ,Become active,207,fbchatAppDelegate,443
2011-07-14 13:52:02:585,    ,==== Connection Changed: WIFI ====,207,MCConnectionManager,425

此功能真正的优势在于与 DDFileLogger 一起使用。您可以创建格式整洁的 CSV 文件,可以在 NeoOffice、Excel 等中加载(基本上是不包含 textmate 的一切),并根据名称、时间或类型(错误、警告、信息等)进行筛选!

许可协议

它采用 BSD 许可协议发布,请随意使用。

联系方式

Jonathan Dalrymple Twitter