fixes #8, defaulting logLevel to 3