<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _processMsg(self, type, msg):
 """ Process Debug Messages """

        now = datetime.datetime.now()

        # Check If Path not provided
        if self.LOG_FILE_PATH == '':
            self.LOG_FILE_PATH = os.path.dirname(os.path.abspath(__file__)) + '/'

        # Build absolute Path
        log_file = self.LOG_FILE_PATH + now.strftime(self.LOG_FILE_FORMAT) + '.log'
        
        # Add General Vars
        msg = self.LOG_MESSAGE_FORMAT.format(
            TYPE=type.upper(),
            DATE=now.strftime(self.DATES_FORMAT),
            DATETIME=now.strftime(self.DATETIME_FORMAT),
            MESSAGE=msg,
        )

        # Check if to add platform data
        if self.PLATFORM_DATA:
            # Add Platform Specific Vars
            msg = msg.format(
                PL_TYPE=platform.machine(),
                PL_NAME=platform.node(),
                PL_PROCESSOR=platform.processor(),
                PL_PY_BUILD_DATE=platform.python_build()[1],
                PL_PY_COMPILER=platform.python_compiler(),
                PL_PY_RELEASE=platform.release(),
                PL_OS=platform.system(),
                PL_TIMEZONE=strftime("%z", gmtime())
            )

        # Create Storage Instance
        self._STORAGE = Storage(log_file)
        # Write Storage
        return self._STORAGE.write(msg)