tweak log

This commit is contained in:
syuilo 2022-03-21 05:45:09 +09:00
parent 0d05f05610
commit 81ee9025fb

View file

@ -85,7 +85,7 @@ class MyCustomLogger implements Logger {
public logQuery(query: string, parameters?: any[]) { public logQuery(query: string, parameters?: any[]) {
if (envOption.verbose) { if (envOption.verbose) {
sqlLogger.info(this.highlight(query)); sqlLogger.info(this.highlight(query).substring(0, 100));
} }
} }