Environment variable not accessible on deployment
Am trying to use Pino with nuxt3
and thus I have declare it in a function at
so the logger doesn't seem to initialize at the correct time "possibly" when deployed on Vercel. ( since it somehow is not able to read the enviroment variables )
though on local machine both using
any idea on how should I initialize my logger ?
and thus I have declare it in a function at
server/utils/logger.tsso the logger doesn't seem to initialize at the correct time "possibly" when deployed on Vercel. ( since it somehow is not able to read the enviroment variables )
though on local machine both using
process.env or runtimeconfig works just fine. any idea on how should I initialize my logger ?

