Fix logging of object when calling directly to log
* add tests for more advanced logging
Add methods to detect if loglevel is active
* add tests for new feature
* update readme