added support for psr-3 compliant logger, and add logging messages throughout the discovery process