fix(logging): Optimize logger instantiation and configuration.
This commit is contained in:
		| @@ -1,5 +1,10 @@ | ||||
| # Changelog | ||||
|  | ||||
| ```markdown | ||||
| ## 1.9.103 - fix(logging): Optimize logger instantiation and configuration. | ||||
|  | ||||
| - Placeholder entry for the next version changes. | ||||
|  | ||||
| ## 1.9.102 - fix(metadata): Ensure accurate project metadata in package.json | ||||
|  | ||||
| - Placeholder entry for the next version changes. | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/cli', | ||||
|   version: '1.9.102', | ||||
|   version: '1.9.103', | ||||
|   description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' | ||||
| } | ||||
|   | ||||
| @@ -1,15 +1,6 @@ | ||||
| import { commitinfo } from '@push.rocks/commitinfo'; | ||||
| import * as plugins from './plugins.js'; | ||||
|  | ||||
| export const logger = new plugins.smartlog.Smartlog({ | ||||
|   minimumLogLevel: 'silly', | ||||
|   logContext: { | ||||
|     company: 'Task Venture Capital GmbH', | ||||
|     companyunit: 'Lossless Cloud', | ||||
|     containerName: 'local', | ||||
|     environment: 'local', | ||||
|     runtime: 'node', | ||||
|     zone: 'gitzone', | ||||
|   }, | ||||
| }); | ||||
| export const logger = plugins.smartlog.Smartlog.createForCommitinfo(commitinfo); | ||||
|  | ||||
| logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user