[libvirt] [PATCH 37/38] admin: Export logging level constants via libvirt-admin.h

Daniel P. Berrange berrange at redhat.com
Thu Mar 31 18:16:40 UTC 2016


On Thu, Mar 31, 2016 at 07:49:10PM +0200, Erik Skultety wrote:
> We should encourage libvirt users to use our own constants when modifying
> logging level, instead of their own values.
> ---
>  include/libvirt/libvirt-admin.h | 15 +++++++++++++++
>  src/util/virlog.h               | 10 ----------
>  2 files changed, 15 insertions(+), 10 deletions(-)

If we don't expose API for changing the global log level, we can
avoid exposing these constants.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list