smartdebug/test.js

8 lines
270 B
JavaScript
Raw Permalink Normal View History

2015-11-17 01:29:18 +00:00
/// <reference path="typings/tsd.d.ts" />
2015-11-16 00:50:28 +00:00
var smartDebug = require("./index.js");
2015-11-17 01:29:18 +00:00
var bl = require("beautylog")("os");
smartDebug.log("This message is not shown");
2015-11-16 00:50:28 +00:00
smartDebug.activate(true);
2015-11-17 01:29:18 +00:00
smartDebug.log("This debug message is shown");
bl.success("Test successfull");