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

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