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();
|
|
|
|
|
2018-07-10 20:34:33 +00:00
|
|
|
export { Smartlog, defaultLogger };
|