fix PSR-3 logger detection