 
 utils = require 'src/utils'
 assert = require 'src/assert'
+signal = require 'src/signal'
 
 module.exports = (File) -> class Log
     @__name__ = 'Log'


    listenOnTextChange = (node, log) ->
        if node instanceof File.Element.Text
            node.onTextChange log.log, log
        else
            for child in node.children
                listenOnTextChange child, log

            console.log.apply console, log
        return

    clone: (original, file) ->
        node = original.node.getCopiedElement @node, file.node

