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!
source share