Changed visibility of log level to local and added new getter/setter methods.