Open niyonx opened 1 month ago
In my experience, if you're using Logger
manually instead of the Log Drain, you can omit the NEXT_PUBLIC_AXIOM_DATASET
and logs will show in local development.
For dev environments I just print locally and do a NODE_ENV === 'production' conditional.
If prod, send to axiom, else send to console.
I still want logs to show in terminal locally