add amqp logger and timeDiff to the library