Skip to main content

Using Bugfender with NSLogger

Written by Aleix Ventayol

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?