code: def _LogRecord_msg():
      
  
      def _LogRecord_msgProperty(self):
          return self.__msg
  
      def _LogRecord_msgSetter(self, value):
          self.__msg = to_unicode(value)
  
      logging.LogRecord.msg = property(_LogRecord_msgProperty, _LogRecord_msgSetter)
docs: Overrides logging.LogRecord.msg attribute to ensure variable content is stored as unicode.