class_docstr: This formatter has a simplified layout and rules used for formatting PennyLane log messages.
class_docstr_tok: ["This","formatter","has","a","simplified","layout","and","rules","used","for","formatting","PennyLane","log","messages","."]
code: def format(self, record):
      log_fmt = self.FORMATS.get(record.levelno)
      formatter = logging.Formatter(log_fmt)
      return formatter.format(record)
  
file_path: pennylane/pennylane/logging/formatters/formatter.py
imports: import logging
  from logging import Formatter
  from typing import NamedTuple, Tuple, Union
label_desc: Use image node_id 1 for calling the SimpleFormatter obj's underlying member method code with example usage: obj.format(record) and returns: formatter