class_docstr: Windows support for logger
docstr: Format incoming logging messages with a given format
docstr_tok: ["Format","incoming","logging","messages","with","a","given","format"]
code: def format_msg(self, string_format: str):
      """Format incoming logging messages with a given format"""
  
      def func(msg: str, **_):
          """Function to replace incoming stream"""
          print(string_format % (self.context, msg), flush=True)
  
      return func
  
file_path: nboost/nboost/logger.py
imports: import termcolor
  import logging
  import copy
  import os
label_desc: Use image node_id 2 for calling the NTLogger obj's underlying member method code with example usage: obj.format_msg(string_format) and returns: func