respect log level

see #19 also.

If the changes are ok, I'll add docs.
Let me know what you think.