don't highlight queries in production

This commit is contained in:
Hazelnoot 2025-05-30 10:19:32 -04:00
parent 04160af3ae
commit 8e660d2aaf

View file

@ -137,7 +137,7 @@ class MyCustomLogger implements Logger {
modded = truncateSql(modded); modded = truncateSql(modded);
} }
return highlightSql(modded); return this.props.enableQueryLogging ? highlightSql(modded) : modded;
} }
@bindThis @bindThis