Seldaek/monolog — pull request #173 by entering (2013-03-21 22:36:33+00:00)
Title: Add validation to add level to check if is integer

Using Monolog addRecord I was passing a level wrongly defined as array, to avoid an

```
Illegal offset type in isset or empty

/home/www/monolog/src/Monolog/Logger.php:340
```

I think is good idea the getLevelName check if the level passed is integer.

I added one test to ensure the code is working as expected.