first commit

This commit is contained in:
Mathieu BOURBON
2026-04-18 16:24:44 +02:00
commit fbb6138c28
72 changed files with 3509 additions and 0 deletions

11
src/lib/utils/logger.ts Normal file
View File

@@ -0,0 +1,11 @@
import pino from 'pino';
import { env } from '@/config/env';
export const logger = pino({
level: env.LOG_LEVEL,
base: { app: 'ipam' },
transport:
env.NODE_ENV === 'development'
? { target: 'pino-pretty', options: { colorize: true } }
: undefined,
});