I'm seeing that the messages containing \n are sticking together. No clue if this is a system thing or something wrong in my setup?
I did a simple change to the code in the pod. I'm a Swift guy, so I'm horrible at obj-c.
- (void)notificationReceived:(NSNotification *)notification {
[stderrReadFileHandle readInBackgroundAndNotify];
NSString *logString = [self getLogMessage:notification];
NSArray *logs = [logString componentsSeparatedByString:@"\n"];
for (int i=0; i < [logs count]; i++) {
[self sendLog:logs[i]];
}
}
Now it makes a ton of logs, which its better at the eye, but don't know if its ideal.
What do you think?