smartlog/ts/index.ts

17 lines
402 B
TypeScript
Raw Normal View History

2018-06-05 18:48:14 +00:00
import * as plugins from './smartlog.plugins';
import { Smartlog } from './smartlog.classes.smartlog';
2018-10-31 17:51:54 +00:00
const defaultLogger: Smartlog = new Smartlog({
logContext: {
company: 'undefined',
companyunit: 'undefefined',
containerName: 'undefined',
environment: 'local',
runtime: 'node',
zone: 'undefined'
}
});
2016-10-15 17:00:52 +00:00
2019-01-15 22:22:44 +00:00
defaultLogger.enableConsole();
export { Smartlog, defaultLogger };