class_docstr: This class handles iteration events to print output to the console.
docstr: Event handler to add all console output ops to the iteration message
  
  :param sender: a niftynet.application instance
  :param msg: an iteration message instance
  :return:
docstr_tok: ["Event","handler","to","add","all","console","output","ops","to","the","iteration","message",":","param","sender",":","a","niftynet.application","instance",":","param","msg",":","an","iteration","message","instance",":","return",":"]
code: def read_console_vars(self, sender, **msg):
      """
      Event handler to add all console output ops to the iteration message
  
      :param sender: a niftynet.application instance
      :param msg: an iteration message instance
      :return:
      """
      msg["iter_msg"].ops_to_run[
          CONSOLE
      ] = sender.outputs_collector.variables(CONSOLE)
  
imports: import tensorflow
  from niftynet.engine.application_variables import CONSOLE
  from niftynet.engine.signal import ITER_STARTED, ITER_FINISHED
label_desc: Use image node_id 2 for calling the ConsoleLogger obj's underlying member method code with example usage: obj.read_console_vars(sender) without return types