Just curious, what's the reason for this? Why might these be different in practice? And why do we choose log_message.format if so? They seem to be the same when printing a plain string from NSLog.
|
char *messageText=s_os_log_copy_formatted_message(log_message); |
|
|
|
if (entry->log_message.format && !(strcmp(entry->log_message.format,messageText))){ |
|
messageText=(char *)entry->log_message.format; |
|
} |
Just curious, what's the reason for this? Why might these be different in practice? And why do we choose
log_message.formatif so? They seem to be the same when printing a plain string fromNSLog.oslog/main.mm
Lines 132 to 136 in 4ad0efb