Matis 0.1.0

Multi-level Asynchrounous Tools Interconnection System.

tools.ConsoleLog

This tool is used for debug purpose. By default, the input is displayed with the standard logger.log() function, then sent to the output unchanged. You can provide your own logguer.

Options

Inputs

Outputs

Example

var logger = function(msg) { ... };
var tool1 = Matis.tools.ConsoleLog();
var tool2 = Matis.tools.ConsoleLog('> ');
var tool3 = Matis.tools.ConsoleLog(logger);
var tool4 = Matis.tools.ConsoleLog('> ', logger);