xiaoju-survey/server/src/logger/logger.provider.ts
2024-02-06 21:32:34 +08:00

9 lines
171 B
TypeScript

import { Provider } from '@nestjs/common';
import logger, { Logger } from './index';
export const LoggerProvider: Provider = {
provide: Logger,
useValue: logger,
};