xiaoju-survey/server/src/logger/logger.provider.ts

9 lines
171 B
TypeScript
Raw Normal View History

2024-01-30 14:19:45 +00:00
import { Provider } from '@nestjs/common';
import logger, { Logger } from './index';
export const LoggerProvider: Provider = {
provide: Logger,
useValue: logger,
};