2022-03-14 15:32:12 +00:00
|
|
|
import * as plugins from './tsbundle.plugins.js';
|
2019-05-06 12:00:21 +00:00
|
|
|
|
|
|
|
export const logger = new plugins.smartlog.Smartlog({
|
|
|
|
logContext: {
|
|
|
|
company: 'Some Company',
|
|
|
|
companyunit: 'Some CompanyUnit',
|
|
|
|
containerName: 'Some Containername',
|
2019-06-16 15:02:38 +00:00
|
|
|
environment: 'local',
|
2019-05-06 12:00:21 +00:00
|
|
|
runtime: 'node',
|
2022-03-14 15:32:12 +00:00
|
|
|
zone: 'gitzone',
|
2019-05-06 12:00:21 +00:00
|
|
|
},
|
2022-03-14 15:32:12 +00:00
|
|
|
minimumLogLevel: 'silly',
|
2019-05-06 12:00:21 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());
|