Based on https://developer.apple.com/videos/play/wwdc2016/721/ my understanding is that we don't need to inject source file name and line number into the message because the system will do that for us.
"....Another important thing is logging system collects callerinformation for you, so there's no longer any need for youto pass file, line to identify where this is called from. We are automatically collecting that for you....."
// File.m
@implementation Foo
- (void)log
{
os_log(OS_LOG_DEFAULT, "This is a log message."); // it doesn't log the file name and the line number
}
@end
What am I missing?