Switch to using the new custom logger

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-09-27 21:48:42 +02:00
parent b256fc8b36
commit e37722a56a
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
24 changed files with 83 additions and 34 deletions

View file

@ -1,12 +1,16 @@
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { LoggerModule } from '../logger/logger.module';
import { AuthToken } from './auth-token.entity';
import { Identity } from './identity.entity';
import { User } from './user.entity';
import { UsersService } from './users.service';
@Module({
imports: [TypeOrmModule.forFeature([User, AuthToken, Identity])],
imports: [
TypeOrmModule.forFeature([User, AuthToken, Identity]),
LoggerModule,
],
providers: [UsersService],
exports: [UsersService],
})