projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39e721
)
[mono] Fix debug logging in apps created using AppleAppBuilder (#54901)
author
Zoltan Varga
<vargaz@gmail.com>
Wed, 30 Jun 2021 11:32:57 +0000
(07:32 -0400)
committer
GitHub
<noreply@github.com>
Wed, 30 Jun 2021 11:32:57 +0000
(07:32 -0400)
src/tasks/AppleAppBuilder/Templates/runtime.m
patch
|
blob
|
history
diff --git
a/src/tasks/AppleAppBuilder/Templates/runtime.m
b/src/tasks/AppleAppBuilder/Templates/runtime.m
index
e0eb0a7
..
fa906e8
100644
(file)
--- a/
src/tasks/AppleAppBuilder/Templates/runtime.m
+++ b/
src/tasks/AppleAppBuilder/Templates/runtime.m
@@
-194,7
+194,7
@@
unhandled_exception_handler (MonoObject *exc, void *user_data)
void
log_callback (const char *log_domain, const char *log_level, const char *message, mono_bool fatal, void *user_data)
{
- os_log_info (OS_LOG_DEFAULT, "(%
s %s) %
s", log_domain, log_level, message);
+ os_log_info (OS_LOG_DEFAULT, "(%
{public}s %{public}s) %{public}
s", log_domain, log_level, message);
if (fatal) {
os_log_info (OS_LOG_DEFAULT, "Exit code: %d.", 1);
exit (1);