smartlog/ts/index.ts
2018-01-28 04:31:06 +01:00

14 lines
287 B
TypeScript

import * as plugins from "./smartlog.plugins";
import { Smartlog } from "./smartlog.classes.smartlog";
export { Smartlog };
let defaultLogger: Smartlog;
export const getDefaultLogger = () => {
if (!defaultLogger) {
defaultLogger = new Smartlog();
}
return defaultLogger;
};