class_docstr: Adds auxiliary information to log records, like `logger_id` and
  `msg_type`.
class_docstr_tok: ["Adds","auxiliary","information","to","log","records",",","like","`","logger_id","`","and","`","msg_type","`","."]
code: def filter(self, record):
      record.logger_id = self.logger_id
      if not getattr(record, "msg_type", None):
          record.msg_type = LOG_MSG
      return True
  
imports: import json
  import logging
  import os
  import sys
  from collections import OrderedDict
  from tqdm import tqdm
  from tqdm.auto import tqdm
label_desc: Use image node_id 2 for calling the MetadataFilter obj's underlying member method code with example usage: obj.filter(record) and returns: True