class_docstr: Early logger which captures logs in memory until logging can be configured.
class_docstr_tok: ["Early","logger","which","captures","logs","in","memory","until","logging","can","be","configured","."]
code: def __init__(self) -> None:
      self._log: List[tuple] = []
      self._exception: List[tuple] = []
      # support old warn() as alias of warning()
      self.warn = self.warning
  
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 1 to create a new _EarlyLogger object  with example: obj = _EarlyLogger()