CocoaLumberjack - how to access the log file on the device?

I use CocoaLumberjack for my logging as it seems to be a very versatile logging base.

In my application, I need to enter the file and have the contents of this file displayed in the application itself: this is for diagnostic purposes for the user of the application (mainly so that they can see how much the application has access to their network, which I register in the file).

There are DDFileLogger and DDLogFileManager . I can see how I can use the DDLogFileManager class to access the file after it is completed, but what I want to do is show the contents of the file in a UITextView so that it displays the current contents .. not just when it is wrapped.

In any case, I don’t see how to access the log file in the application itself - can anyone shed some light on how to do this?

thanks!

+4
source share
1 answer

See my answer here:

fooobar.com/questions/118868 / ...

And these characters just reach 30 lows.

+3
source

All Articles