[libvirt] [PATCH 5/7] Add virLogSource variables to all source files

Daniel P. Berrange berrange at redhat.com
Wed Mar 5 15:15:03 UTC 2014


On Wed, Mar 05, 2014 at 10:09:55AM -0500, John Ferlan wrote:
> 
> 
> On 03/03/2014 02:18 PM, Daniel P. Berrange wrote:
> > Any source file which calls the logging APIs now needs
> > to have a VIR_LOG_INIT("source.name") declaration at
> > the start of the file. This provides a static variable
> > of the virLogSource type.
> > 
> > Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> > ---
> 
> <...snip...>
> 
> I found just one typo - I assume this is added anywhere a VIR_FROM_THIS
> was found (although I didn't check :-))

Actually anywhere a VIR_DEBUG or equiv statement is set. Fortunately
we will get a compile error if i missed any...

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