1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 12:14:18 +00:00

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);
}
return highlightSql(modded);
return this.props.enableQueryLogging ? highlightSql(modded) : modded;
}
@bindThis