class_docstr: Adds logging prefix to newlines to align multi-line messages.
code: def format(self, record):
      msg = logging.Formatter.format(self, record)
      if record.message != "":
          parts = msg.split(record.message)
          msg = msg.replace("\n", "\r\n" + parts[0])
      return msg
  
imports: import logging
  import sys
label_desc: Use image node_id 2 for calling the NewLineFormatter obj's underlying member method code with example usage: obj.format(record) and returns: msg