<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _set_application_logger(self):
 """ Creates a logger intended for use by applications using CloeePy. This logger is fully configurable by the user and can include custom fields """

        formatter = None
        if self._formatter == "json":
            if hasattr(self._config, "formatString"):
                formatter = CustomJsonFormatter(self._config.formatString)
            else:
                formatter = CustomJsonFormatter(self.default_json_fmt)
        else:
            if hasattr(self._config, "formatString"):
                formatter = logging.Formatter(self._config.formatString)
            else:
                formatter = logging.Formatter(self.default_txt_fmt)

        # get logging.Logger instance and set formatter
        self.logger = logging.getLogger('CloeePyApplication')
        logHandler = logging.StreamHandler()
        logHandler.setFormatter(formatter)
        self.logger.addHandler(logHandler)
        self.logger.setLevel(self._log_level)