Add getter for log level.