In your composer.json, change
"minimum-stability": "dev"
to
"minimum-stability": "stable"
Additionally, update your composer with self updater.
php composer.phar self-update
The reason is, Monolog uses PSR-4 autoloading but old versions of composer doesn't know how to load PSR-4.
This should solve your issue.