code: def log(self, data):
      self._event_to_wait.wait()
      self._real_logger.log(data)
  
file_path: neptune-client/tests/unit/neptune/new/internal/test_streams.py
imports: import sys
  import threading
  import unittest
  from contextlib import redirect_stdout
  from io import StringIO
  from unittest.mock import MagicMock
  from neptune.internal.streams.std_stream_capture_logger import StdoutCaptureLogger, StdStreamCaptureLogger
  from neptune.logging import Logger
label_desc: Use image node_id 2 for calling the FakeLogger obj's underlying member method code with example usage: obj.log(data) without return types