code: def main():
      # Connecting ClearML with the current process,
      # from here on everything is logged automatically
      task = Task.init(
          project_name="examples", task_name="Text reporting"
      )
  
      print("reporting text logs")
  
      # report regular console print
      print("This is standard output test")
  
      # report stderr
      print("This is standard error test", file=sys.stderr)
  
      # Get the task logger,
      # You can also call Task.current_task().get_logger() from anywhere in your code.
      logger = task.get_logger()
  
      # report text based logs
      report_logs(logger)
  
      # report text as debug example
      report_debug_text(logger)
  
      # force flush reports
      # If flush is not called, reports are flushed in the background every couple of seconds,
      # and at the end of the process execution
      logger.flush()
  
      print("We are done reporting, have a great day :)")
  
file_path: clearml/examples/reporting/text_reporting.py
imports: from __future__ import print_function
  import logging
  import sys
  import six
  from clearml import Logger, Task
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types