docstr: Whether to redirect Spark driver JVM's stdout and stderr to the current
  python process. This is useful when running Analytics Zoo in jupyter notebook.
  Default to be False. Needs to be set before initializing SparkContext.
docstr_tok: ["Whether","to","redirect","Spark","driver","JVM","'s","stdout","and","stderr","to","the","current","python","process",".","This","is","useful","when","running","Analytics","Zoo","in","jupyter","notebook",".","Default","to","be","False",".","Needs","to","be","set","before","initializing","SparkContext","."]
code: def log_output(cls):
      """
      Whether to redirect Spark driver JVM's stdout and stderr to the current
      python process. This is useful when running Analytics Zoo in jupyter notebook.
      Default to be False. Needs to be set before initializing SparkContext.
      """
      return ZooContext.log_output
  
imports: import os
  from zoo import ZooContext
label_desc: Use image node_id 1 for calling the OrcaContextMeta obj's underlying member method code with example usage: obj.log_output(cls) and returns: ZooContext