All Collections
Supported logging frameworks
Using Bugfender with NSLogger
Using Bugfender with NSLogger
Jordi Giménez avatar
Written by Jordi Giménez
Updated over a week ago

If you have NSLogger integrated in your project and would like to use Bugfender with it, you will need to adapt a little bit the NSLogger library, since it does not allow custom output sources.

After following the Bugfender installation instructions, edit LoggerClient.m , line 975:
Instead of:

if (type == LOGMSG_TYPE_LOG || type == LOGMSG_TYPE_MARK)
   CFShow(s);

Replace with:

if (type == LOGMSG_TYPE_LOG || type == LOGMSG_TYPE_MARK) {
   CFShow(s);
   BFLog(@"%@", s);
}
Did this answer your question?