smartdebug/ts/test.ts

9 lines
271 B
TypeScript
Raw 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");
2015-11-16 00:50:28 +00:00
2015-11-17 01:29:18 +00:00
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");