<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_framework_logger(self):
 """ Creates a logger with default formatting for internal use by the CloeePy framework and its plugins. User may configure customer fields on their logger, but the framework would not know how to incorporate those custom fields, and by design of the logging pkg authors, the program would error out. """

        formatter = None
        if self._formatter == "json":
            formatter = CustomJsonFormatter(self.default_json_fmt)
        else:
            formatter = logging.Formatter(self.default_text_fmt)

        self._logger = logging.getLogger("CloeePyFramework")
        logHandler = logging.StreamHandler()
        logHandler.setFormatter(formatter)
        self._logger.addHandler(logHandler)
        self._logger.setLevel(self._log_level)