log_use_glib_logging


Description:


public void log_use_glib_logging ()

Make GExiv2 use GLib's logging mechanism.

When called, gexiv2 will install it's own [callback@GExiv2.LogHandler] which redirects all Exiv2 and gexiv2 log messages to GLib's logging calls ([func@GLib.debug], [func@GLib.message], [func@GLib.warning], and [func@GLib.critical] for the respective [ enum@GExiv2.LogLevel] value). [enum@GExiv2.LogLevel.MUTE] log messages are dropped.

One advantage to using this is that GLib's logging control and handlers can be used rather than GExiv2's ad hoc scheme. It also means an application can use GLib logging and have all its messages routed through the same calls.


Namespace: GExiv2
Package: gexiv2-0.16