[PATCH v3 2/5] logging: move virLogHandler to header