class_docstr: Singleton class for CLI logging.
  
  Without calling 'cli_logger.configure', the CLILogger will default
  to 'record' style logging.
  
  Attributes:
      color_mode (str):
          Can be "true", "false", or "auto".
  
          Enables or disables `colorful`.
  
          If `color_mode` is "auto", is set to `not stdout.isatty()`
      indent_level (int):
          The current indentation level.
  
          All messages will be indented by prepending `"  " * indent_level`
      vebosity (int):
          Output verbosity.
  
          Low verbosity will disable `verbose` and `very_verbose` messages.
class_docstr_tok: ["Singleton","class","for","CLI","logging",".","Without","calling","'cli_logger.configure","'",",","the","CLILogger","will","default","to","'record","'","style","logging",".","Attributes",":","color_mode","(","str",")",":","Can","be","``","true","''",",","``","false","''",",","or","``","auto","''",".","Enables","or","disables","`","colorful","`",".","If","`","color_mode","`","is","``","auto","''",",","is","set","to","`","not","stdout.isatty","(",")","`","indent_level","(","int",")",":","The","current","indentation","level",".","All","messages","will","be","indented","by","prepending","`","``","``","*","indent_level","`","vebosity","(","int",")",":","Output","verbosity",".","Low","verbosity","will","disable","`","verbose","`","and","`","very_verbose","`","messages","."]
docstr: Prints an error and aborts execution.
  
  Print an error and throw an exception to terminate the program
  (the exception will not print a message).
code: def abort(
      self,
      msg: Optional[str] = None,
      *args: Any,
      exc: Any = None,
      **kwargs: Any,
  ):
      """Prints an error and aborts execution.
  
      Print an error and throw an exception to terminate the program
      (the exception will not print a message).
      """
      if msg is not None:
          self._error(msg, *args, _level_str="PANIC", **kwargs)
  
      if exc is not None:
          raise exc
  
      exc_cls = click.ClickException
      if self.pretty:
          exc_cls = SilentClickException
  
      if msg is None:
          msg = "Exiting due to cli_logger.abort()"
      raise exc_cls(msg)
  
imports: import inspect
  import logging
  import os
  import sys
  import time
  from contextlib import contextmanager
  from functools import wraps
  from typing import Any, Callable, Dict, List, Optional, Tuple
  import click
  import colorama
  import ray
label_desc: Use image node_id 29 for calling the _CliLogger obj's underlying member method code with example usage: obj.abort(msg) without return types