pushHandler(new Monolog\Handler\StreamHandler('php://stdout')); return $log; } else { return null; }