def METHOD_NAME( self):
    if "CaptureTxFrames" not in self.pluginconf.pluginConf or not self.pluginconf.pluginConf["CaptureTxFrames"]:
        return
    captureTxFrame_filename = Path( self.pluginconf.pluginConf["pluginLogs"]) / ("Capture-Zigbee-Tx-Frames-%02d.csv" % self.hardwareid)
    header = (
        None
        if os.path.isfile(captureTxFrame_filename)
        else " Time Stamp | Command | Function | SQN | Priority | ackIsDisabled | WaitForresponseIn | NwkId | Profile | Target addr | Target Ep | Src Ep | Cluster | Payload | Addr Mode | rxOnIddle \n"
    )
    self.structured_log_command_file_handler = open(captureTxFrame_filename, "a")
    if header:
        header = " Time Stamp | Command | Function | SQN | Priority | ackIsDisabled | WaitForresponseIn | NwkId | Profile | Target addr | Target Ep | Src Ep | Cluster | Payload | Addr Mode | rxOnIddle \n"
        self.structured_log_command_file_handler.write( header )