XCOMMONS-545: Add API to test if a LogQueue contains logs of provided level