smartlog-destination-local/ts/index.js

23 lines
807 B
JavaScript
Raw Normal View History

2015-10-12 11:14:16 +00:00
/// <reference path="./typings/tsd.d.ts" />
2015-11-13 21:53:28 +00:00
/// <reference path="./beautylog.classes.ts" />
/// <reference path="./beautylog.os.ts" />
2015-11-15 05:15:20 +00:00
/// <reference path="./beautylog.os.table.ts" />
2015-11-13 21:53:28 +00:00
/// <reference path="./beautylog.browser.ts" />
2015-11-01 21:00:07 +00:00
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;
2015-10-12 11:14:16 +00:00
}
};
2015-11-01 21:00:07 +00:00
module.exports = beautylog;
2015-10-12 11:14:16 +00:00
//# sourceMappingURL=index.js.map