🎨 Logging

This commit is contained in:
Liang Ding 2023-02-11 16:58:03 +08:00
parent b2a85c66c6
commit 817c9e6f71
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -292,7 +292,7 @@ func ListDocTree(boxID, path string, sortMode int) (ret []*File, totals int, err
}
elapsed = time.Now().Sub(start).Milliseconds()
if 500 < elapsed {
logging.LogWarnf("build docs elapsed [%dms]", elapsed)
logging.LogWarnf("build docs [%d] elapsed [%dms]", len(docs), elapsed)
}
start = time.Now()