Replace instance of levels from config with new getLevels() method
Add psr/log to composer requirements
Test new getLevels() method