add support for logging from rabbitmq-c library.