# @goodgo/logger

Centralized logging utility using Winston.

## Usage

```typescript
import { logger, createLogger } from '@goodgo/logger';

// Use default logger
logger.info('Application started');
logger.error('Error occurred', { error: err });

// Create custom logger
const customLogger = createLogger({
  level: 'debug',
  serviceName: 'iam-service',
  enableFile: true,
  logDir: './logs',
});
```

## Configuration

- `level`: Log level (error, warn, info, debug)
- `serviceName`: Service identifier
- `enableConsole`: Enable console output
- `enableFile`: Enable file logging
- `logDir`: Directory for log files
