code: def init_logger(self):
          
          # All logs are comming to this logger
          self.logger.setLevel(logging.DEBUG)
          self.logger.propagate = False
  
          # Logging to console
          if self.min_log_level_to_print:
              level = self.min_log_level_to_print
              handler_class = logging.StreamHandler
              self._create_handler(handler_class, level)
  
          # Logging to file
          if self.min_log_level_to_save:
              level = self.min_log_level_to_save
              handler_class = logging.handlers.TimedRotatingFileHandler
              self._create_handler(handler_class, level)
  
          # Logging to syslog
          if self.min_log_level_to_syslog:
              level = self.min_log_level_to_syslog
              handler_class = logging.handlers.SysLogHandler
              self._create_handler(handler_class, level)
  
          # Logging to email
          if self.min_log_level_to_mail:
              level = self.min_log_level_to_mail
              handler_class = AlkiviEmailHandler
              self._create_handler(handler_class, level)
  
          return
docs: Create configuration for the root logger.