Added logLevel option