mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
don't highlight queries in production
This commit is contained in:
parent
04160af3ae
commit
8e660d2aaf
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class MyCustomLogger implements Logger {
|
|||
modded = truncateSql(modded);
|
||||
}
|
||||
|
||||
return highlightSql(modded);
|
||||
return this.props.enableQueryLogging ? highlightSql(modded) : modded;
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
|
Loading…
Add table
Reference in a new issue