A logger that emits logs to OpenTelemetry and optionally to the console.
VendureLogger(message: string, context?: string) => void(message: string, context?: string) => void(message: string, context?: string) => void(message: string, context?: string) => void(message: string, context?: string) => voidOptions for the OtelLogger.
LogLevelIf set to a LogLevel, the logger will also log to the console. This can be useful for local development or debugging.
Example