fix(logging): Refactor logger initialization to use commitinfo data
This commit is contained in:
parent
927cd961fd
commit
571249705e
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## [1.2.4] - 1.2.4
|
||||
fix(logging): Refactor logger initialization to use commitinfo data
|
||||
|
||||
## [1.2.3]
|
||||
fix(aidocs): Fix bug in AiDoc class causing undefined token handling
|
||||
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@git.zone/tsdoc',
|
||||
version: '1.2.3',
|
||||
version: '1.2.4',
|
||||
description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.'
|
||||
}
|
||||
|
@ -1,15 +1,6 @@
|
||||
import { commitinfo } from './00_commitinfo_data.js';
|
||||
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',
|
||||
});
|
||||
export const logger = plugins.smartlog.Smartlog.createForCommitinfo(commitinfo);
|
||||
|
||||
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());
|
||||
|
Loading…
Reference in New Issue
Block a user