log_use_glib_logging


Description:


public void log_use_glib_logging ()

When called, gexiv2 will install it's own LogHandler which redirects all Exiv2 and gexiv2 log messages to GLib's logging calls (debug, message, warning, and critical for the respective LogLevel value).

MUTE logs 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