[logger] functions added to set interval and loglevel. also removed access to open and close