code: def get_test_log_file_path(
      output_dir, class_name, test_name, extension="log"
  ):
      """
      get test log file path, platform dependant
      :param output_dir: dir where log file should be placed
      :param class_name: test class name
      :param test_name: test name
      :return: test log file name
      """
      if os.name == "nt":
          # don't add class name to the log's filename
          # to reduce it's length on windows
          filename = test_name
      else:
          filename = "{}.{}".format(class_name, test_name)
      if not filename:
          filename = "test"
      filename += "." + extension
      filename = normalize_filename(filename)
      return get_unique_file_path(output_dir, filename)
  
imports: import collections
  import functools
  import math
  import os
  import re
  import sys
  import yatest_lib.tools
label_desc: Use image node_id 9 for calling a global function with example usage: get_test_log_file_path(output_dir, class_name, test_name, extension) and returns: get_unique_file_path