cli/ts/gitzone.logging.ts

7 lines
260 B
TypeScript

import { commitinfo } from '@push.rocks/commitinfo';
import * as plugins from './plugins.js';
export const logger = plugins.smartlog.Smartlog.createForCommitinfo(commitinfo);
logger.addLogDestination(new plugins.smartlogDestinationLocal.DestinationLocal());