modyfing log(driver) method for new library