fix(core): update
This commit is contained in:
		
							
								
								
									
										15
									
								
								ts/logging.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								ts/logging.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
import * as plugins from './plugins.js';
 | 
			
		||||
 | 
			
		||||
export const logger = new plugins.smartlog.Smartlog({
 | 
			
		||||
  logContext: {
 | 
			
		||||
    company: 'Some Company',
 | 
			
		||||
    companyunit: 'Some CompanyUnit',
 | 
			
		||||
    containerName: 'Some Containername',
 | 
			
		||||
    environment: 'local',
 | 
			
		||||
    runtime: 'node',
 | 
			
		||||
    zone: 'gitzone',
 | 
			
		||||
  },
 | 
			
		||||
  minimumLogLevel: 'silly',
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());
 | 
			
		||||
		Reference in New Issue
	
	Block a user