coretraffic/ts/coretraffic.logging.ts

15 lines
401 B
TypeScript
Raw Permalink Normal View History

2024-05-15 08:10:41 +00:00
import * as plugins from './coretraffic.plugins.js';
import * as paths from './coretraffic.paths.js';
const projectInfoNpm = new plugins.projectinfo.ProjectinfoNpm(paths.packageDir);
export const logger = new plugins.smartlog.Smartlog({
logContext: {
environment: 'production',
runtime: 'node',
zone: 'serve.zone',
containerName: 'coretraffic',
},
minimumLogLevel: 'info',
});