class_docstr: Inner class of _WandbSetup.
class_docstr_tok: ["Inner","class","of","_WandbSetup","."]
code: def _early_logger_flush(self, new_logger: Logger) -> None:
      if not self._early_logger:
          return
      _set_logger(new_logger)
      # self._settings._clear_early_logger()
      self._early_logger._flush()
  
imports: import logging
  import os
  import sys
  import threading
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  import wandb
  from .None import wandb_manager, wandb_settings
  from .lib import config_util, server, tracelog
label_desc: Use image node_id 5 for calling the _WandbSetup__WandbSetup obj's underlying member method code with example usage: obj._early_logger_flush(new_logger) without return types