mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +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);
|
modded = truncateSql(modded);
|
||||||
}
|
}
|
||||||
|
|
||||||
return highlightSql(modded);
|
return this.props.enableQueryLogging ? highlightSql(modded) : modded;
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
|
|
Loading…
Add table
Reference in a new issue