Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question! #1

Open
NSExceptional opened this issue Mar 21, 2019 · 0 comments
Open

Question! #1

NSExceptional opened this issue Mar 21, 2019 · 0 comments

Comments

@NSExceptional
Copy link

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.

oslog/main.mm

Lines 132 to 136 in 4ad0efb

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant