10 lines
382 B
TypeScript
Raw Normal View History

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