The Debugging page currently only covers the DEBUG env var.
I think it should at least also mention the possibility of using log: ['error'] when instantiating PrismaClient that's explained here so that people don't have to look through different pages to get all potential debugging info that's relevant for them.
I often have to refer to these two pages to get what I need (as I always forget again 5 minutes later), so at least cross linking them explicitly make so much sense.
The Debugging page currently only covers the
DEBUG
env var.I think it should at least also mention the possibility of using
log: ['error']
when instantiatingPrismaClient
that's explained here so that people don't have to look through different pages to get all potential debugging info that's relevant for them.