burczyk / UIForLumberjack

iOS UI library to display CocoaLumberjack logs on iOS device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Infinite recursive call in logFormatter property

JoeMatt opened this issue · comments

In UIForLumberJack.m the setter/getter methods are unnecessary. In fact, they cause an infinite recursive call.

- (void)setLogFormatter:(id <DDLogFormatter>)formatter
{
    self.logFormatter = formatter;
}

calls itself. The explicit setter and getter methods are gratuitous and can be safely removed to resolve the issue.