Add methods to detect if loglevel is active
* add tests for new feature
* update readme