Skip to content

Commit

Permalink
disable debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiaomin committed Nov 27, 2014
1 parent 07ca078 commit fccbe7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MCLog/MCLog.m
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ - (id)initWithAdaptorType:(id)arg1 content:(id)arg2 kind:(int)arg3
{
id item = IDEConsoleItemInitIMP(self, _cmd, arg1, arg2, arg3);
[self updateItemAttribute:item];
MCLogger(@"%@, logLevel:%zd, adaptorType:%@", item, [item logLevel], [item valueForKey:@"adaptorType"]);
//MCLogger(@"%@, logLevel:%zd, adaptorType:%@", item, [item logLevel], [item valueForKey:@"adaptorType"]);
return item;
}

Expand Down Expand Up @@ -293,7 +293,7 @@ - (void)fixAttributesInRange:(NSRange)range
if (attrs.count > 0) {
NSRange attrRange = NSMakeRange(lastRange.location, result.range.location - lastRange.location);
[self addAttributes:attrs range:attrRange];
MCLogger(@"apply attributes:%@\nin range:[%zd, %zd], affected string:%@", attrs, attrRange.location, attrRange.length, [self.string substringWithRange:attrRange]);
//MCLogger(@"apply attributes:%@\nin range:[%zd, %zd], affected string:%@", attrs, attrRange.location, attrRange.length, [self.string substringWithRange:attrRange]);
}

NSString *attrsDesc = [self.string substringWithRange:[result rangeAtIndex:1]];
Expand Down

0 comments on commit fccbe7e

Please sign in to comment.