import { ConsoleLogger } from '@adapters/logging/ConsoleLogger';
import { Global, Module } from '@nestjs/common';

@Global()
@Module({
  providers: [
    {
      provide: 'Logger',
      useClass: ConsoleLogger,
    },
  ],
  exports: ['Logger'],
})
export class LoggingModule {}