()
| 48 | } |
| 49 | |
| 50 | const getLogLevel = (): string | undefined => { |
| 51 | if (typeof process !== 'undefined' && process.env) { |
| 52 | return process.env.LOG_LEVEL |
| 53 | } |
| 54 | return undefined |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Get the minimum log level from environment variable or use defaults |