def lazy_load_library_exists(self):
        # try to connect libvirt. if fail, skip test.
        try:
            import libvirt
            import libxml2
        except ImportError:
            return False
        global libvirt
        libvirt = __import__('libvirt')
        connection.libvirt = __import__('libvirt')
        connection.libxml2 = __import__('libxml2')
        return True
Logs an event against the span, with the current timestamp.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/test_libvirt.py/IptablesFirewallTestCase.lazy_load_library_exists--crossover with--dataset/ETHPy150Open opentracing/opentracing-python/opentracing/span.py/Span.log_event