smartlog-destination-local/ts/index.js
Philipp Kunz be71cdb472 closes #3
2015-11-15 06:15:20 +01:00

23 lines
807 B
JavaScript

/// <reference path="./typings/tsd.d.ts" />
/// <reference path="./beautylog.classes.ts" />
/// <reference path="./beautylog.os.ts" />
/// <reference path="./beautylog.os.table.ts" />
/// <reference path="./beautylog.browser.ts" />
var beautylog = function (logPlatform) {
if (logPlatform === void 0) { logPlatform = "os"; }
switch (logPlatform) {
case "os":
var beautylogOs = BeautylogOS.init();
return beautylogOs;
break;
case "browser":
var beautylogBrowser = BeautylogBrowser.init();
return beautylogBrowser;
break;
default:
console.log("something is strage about the way you required beautylog");
break;
}
};
module.exports = beautylog;
//# sourceMappingURL=index.js.map