from lnx.logicnode.lnx_nodes import *

class PrintNode(LnxLogicTreeNode):
    """Print the given value to the console."""
    bl_idname = 'LNPrintNode'
    bl_label = 'Print'
    lnx_version = 1

    def lnx_init(self, context):
        self.add_input('LnxNodeSocketAction', 'In')
        self.add_input('LnxStringSocket', 'String')

        self.add_output('LnxNodeSocketAction', 'Out')