()
| 17 | private isEnabled: boolean; |
| 18 | |
| 19 | constructor() { |
| 20 | // Check for LOG_ENABLED environment variable |
| 21 | this.isEnabled = process.env.LOG_ENABLED === 'true'; |
| 22 | } |
| 23 | |
| 24 | private log(level: string, messageOrContext: string | LogContext, contextOrMessage?: LogContext | string) { |
| 25 | // If logging is not enabled, return early |
nothing calls this directly
no outgoing calls
no test coverage detected