class_docstr: This is a filter which sets the record's output_name, if
  not configured
class_docstr_tok: ["This","is","a","filter","which","sets","the","record","'s","output_name",",","if","not","configured"]
code: def filter(self, record: logging.LogRecord) -> bool:
      if not hasattr(record, "output_name"):
          # pyre-ignore[16]: Record supports arbitrary attributes
          record.output_name = record.name
      return True
  
imports: import logging
  import os
  import re
  from functools import wraps
  from typing import Any, Callable, Iterable, List, TypeVar
  from ax.utils.common.decorator import ClassDecorator
label_desc: Use image node_id 1 for calling the AxOutputNameFilter obj's underlying member method code with example usage: obj.filter(record) and returns: True