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
Add a link
Reference in a new issue