/**
 * @ai-summary Singleton audit log service instance
 * @ai-context Provides centralized audit logging across all features
 */

import { pool } from '../../core/config/database';
import { AuditLogRepository } from './data/audit-log.repository';
import { AuditLogService } from './domain/audit-log.service';

// Create singleton repository and service instances
const repository = new AuditLogRepository(pool);
export const auditLogService = new AuditLogService(repository);

export default auditLogService;
