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:
@@ -137,7 +137,7 @@ class MyCustomLogger implements Logger {
|
||||
modded = truncateSql(modded);
|
||||
}
|
||||
|
||||
return highlightSql(modded);
|
||||
return this.props.enableQueryLogging ? highlightSql(modded) : modded;
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
||||
Reference in New Issue
Block a user