code: def test_create_log_file(
      self, tmpdir, model_sample, train_dataset, training_config
  ):
      dir_log_path = os.path.join(tmpdir, "dummy_folder")
  
      trainer = BaseTrainer(
          model=model_sample,
          train_dataset=train_dataset,
          training_config=training_config,
      )
  
      trainer.train(log_output_dir=dir_log_path)
  
      assert os.path.isdir(dir_log_path)
      assert (
          f"training_logs_{trainer._training_signature}.log"
          in os.listdir(dir_log_path)
      )
  
imports: import os
  from copy import deepcopy
  import pytest
  import torch
  from pythae.customexception import ModelError
  from pythae.models import AE, RHVAE, VAE, AEConfig, RHVAEConfig, VAEConfig
  from pythae.trainers import BaseTrainer, BaseTrainerConfig
  from tests.data.custom_architectures import *
label_desc: Use image node_id 3 for calling the Test_Logging obj's underlying member method code with example usage: obj.test_create_log_file(tmpdir, model_sample, train_dataset, training_config) without return types