Masaru Kitajima Masaru Kitajima - 3 months ago 17
iOS Question

DDLog doen't output logs to Console.app

I write following code in application didFinishLaunchingWithOptions

[DDLog addLogger:[DDTTYLogger sharedInstance]];
[[DDTTYLogger sharedInstance] setColorsEnabled:YES];
[DDLog addLogger:[DDASLLogger sharedInstance]];


But, it doesn't send log to Console.app.

How can I send it to console app?

Thanks for your helps.

Answer

It seems that you're expecting issues that were fixed few days ago. Those fixes will go to 1.8.2.

Meantime, you can grab latest version from github, or use pod 'CocoaLumberjack', :head in case if you're using CocoaPods.