mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
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:
@@ -46,6 +46,8 @@
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_SECRET
|
||||
|
||||
VIR_LOG_INIT("secret.secret_driver");
|
||||
|
||||
enum { SECRET_MAX_XML_FILE = 10*1024*1024 };
|
||||
|
||||
/* Internal driver state */
|
||||
|
||||
Reference in New Issue
Block a user