[logging] Ensure that glib logging goes through the new logging mechanics and that...
authorRodrigo Kumpera <kumpera@gmail.com>
Thu, 1 Sep 2016 00:37:35 +0000 (17:37 -0700)
committerRodrigo Kumpera <kumpera@gmail.com>
Thu, 1 Sep 2016 00:43:36 +0000 (17:43 -0700)
commit168394fb2f40024795600fb0fe2f20fb4e5cf5db
tree7ed0ee7d2f2e194c360152307ae95fb6f932ce93
parente6690040450703914f3278d986ed7076199f9e2a
[logging] Ensure that glib logging goes through the new logging mechanics and that the domain prefix is preserved.

Call g_log_set_default_handler in mono_trace_set_log_handler and mono_trace_set_log_handler_internal to ensure that g_ logging is properly routed.

Additionally, change the internal logging callback to take the log message as a single string to simplify things.
mono/utils/mono-log-common.c
mono/utils/mono-log-posix.c
mono/utils/mono-log-windows.c
mono/utils/mono-logger-internals.h
mono/utils/mono-logger.c