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