forked from FoundKeyGang/FoundKey
tweak log
This commit is contained in:
parent
0d05f05610
commit
81ee9025fb
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue