def rotation_filename(self, default_name: str) -> str:
if self.namer is None:<EOL><INDENT>return default_name<EOL><DEDENT>return self.namer(default_name)<EOL>
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.