(context: string | Record<string, unknown>)
| 183 | * Create a child logger with specific context |
| 184 | */ |
| 185 | export function createLogger(context: string | Record<string, unknown>) { |
| 186 | const bindings = typeof context === 'string' ? { module: context } : context; |
| 187 | return logger.child(bindings); |
| 188 | } |
| 189 | |
| 190 | /** |
| 191 | * Log levels guide: |
no outgoing calls
no test coverage detected