Level should be less than equal to debug level

Level should be less than equal to debug level to be printed.
Merge pull request #75 from Vanuan/patch-1

Level should be less than equal to debug level