2024-04-03 11:34:26 +00:00
|
|
|
import * as plugins from './plugins.js';
|
2019-05-14 06:50:50 +00:00
|
|
|
|
|
|
|
export const logger = new plugins.smartlog.Smartlog({
|
|
|
|
logContext: {
|
|
|
|
company: 'Some Company',
|
|
|
|
companyunit: 'Some CompanyUnit',
|
|
|
|
containerName: 'Some Containername',
|
|
|
|
environment: 'local',
|
|
|
|
runtime: 'node',
|
2020-11-24 20:24:30 +00:00
|
|
|
zone: 'gitzone',
|
2019-05-14 06:50:50 +00:00
|
|
|
},
|
2020-11-24 20:24:30 +00:00
|
|
|
minimumLogLevel: 'silly',
|
2019-05-14 06:50:50 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());
|