code: def rotation_filename(self, default_name: str) -> str:
          
          if self.namer is None:
              return default_name
  
          return self.namer(default_name)
docs: Modify the filename of a log file when rotating.
  
          This is provided so that a custom filename can be provided.
  
          :param default_name: The default name for the log file.