/**
  * Injects the bot's logger into the plugin if it implements
  * \Psr\Log\LoggerAwareInterface.
  *
  * @param \Phergie\Irc\Bot\React\PluginInterface $plugin Loaded plugin
  * @param \Phergie\Irc\Bot\React\Bot $bot Bot that loaded the plugin
  */
 public function process(PluginInterface $plugin, Bot $bot)
 {
     if ($plugin instanceof LoggerAwareInterface) {
         $plugin->setLogger($bot->getLogger());
     }
 }