code: def print(self, text: str, end_char: str):
      if self.is_screen:
          print(text, end=end_char, flush=True)
      else:
          APP_CONSOLE_LOGS.outputs(logger_=text + end_char)
  
file_path: labml/client/labml/internal/logger/destinations/console.py
imports: from typing import List, Union, Tuple, Optional
  from ...app.logs import APP_CONSOLE_LOGS
  from ..destinations import Destination
  from ...util.colors import StyleCode, ANSI_RESET
label_desc: Use image node_id 4 for calling the ConsoleDestination obj's underlying member method code with example usage: obj.print(text, end_char) without return types