don't highlight queries in production
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user