Provides a glib log handler which routes all logging messages to the
In order to use this function,
glib must be built with the
Use this function if you want to use the log crate as the main logging
output in your application, and want to route all logging happening in
glib to the log crate. If you want the opposite, use
NOTE: This should never be used when
registered as a logger, otherwise a stack overflow will occur.