class_docstr: Custom handler to filter out logging from code outside of
  Megatron Core, and dump to stdout.
class_docstr_tok: ["Custom","handler","to","filter","out","logging","from","code","outside","of","Megatron","Core",",","and","dump","to","stdout","."]
code: def __init__(self):
      super().__init__(stream=sys.stdout)
  
imports: import sys
  from logging import LogRecord, StreamHandler
label_desc: Use image node_id 1 to create a new CustomHandler object from inherited base classes: StreamHandler with example: obj = CustomHandler()