Add virLogSource variables to all source files

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@redhat.com>
This commit is contained in:
Daniel P. Berrange
2014-02-28 12:16:17 +00:00
parent 098dd79ee2
commit 2835c1e730
232 changed files with 443 additions and 34 deletions

View File

@@ -34,6 +34,8 @@
#include "virutil.h"
#include "vireventpoll.h"
VIR_LOG_INIT("tests.eventtest");
#define NUM_FDS 31
#define NUM_TIME 31