docs: def _create_logger(name='fmf', level=None):
          """ Create fmf logger """
          # Create logger, handler and formatter
          logger = logging.getLogger(name)
          handler = logging.StreamHandler()
          handler.setFormatter(Logging.ColoredFormatter())
          logger.addHandler(handler)
          # Save log levels in the logger itself (backward compatibility)
          for level in Logging.LEVELS:
              setattr(logger, level, getattr(logging, level))
          # Additional logging constants and methods for cache and xmlrpc
          logger.DATA = LOG_DATA
          logger.CACHE = LOG_CACHE
          logger.ALL = LOG_ALL
          logger.cache = lambda message: logger.log(LOG_CACHE, message) # NOQA
          logger.data = lambda message: logger.log(LOG_DATA, message) # NOQA
          logger.all = lambda message: logger.log(LOG_ALL, message) # NOQA
          return logger