smartdebug/test.js
2015-11-17 02:29:18 +01:00

8 lines
270 B
JavaScript

/// <reference path="typings/tsd.d.ts" />
var smartDebug = require("./index.js");
var bl = require("beautylog")("os");
smartDebug.log("This message is not shown");
smartDebug.activate(true);
smartDebug.log("This debug message is shown");
bl.success("Test successfull");