smartdebug/ts/test.ts
2015-11-22 07:59:34 +01:00

10 lines
382 B
TypeScript

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