This commit is contained in:
Liang Ding 2022-07-17 12:22:32 +08:00
parent c8ea858976
commit 505b973c2d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
70 changed files with 671 additions and 942 deletions

View file

@ -23,6 +23,7 @@ import (
"sync"
"time"
"github.com/siyuan-note/logging"
"github.com/siyuan-note/siyuan/kernel/util"
)
@ -60,6 +61,6 @@ func LoadAssets() {
})
elapsed := time.Since(start)
if 2000 < elapsed.Milliseconds() {
util.LogInfof("loaded assets [%.2fs]", elapsed.Seconds())
logging.LogInfof("loaded assets [%.2fs]", elapsed.Seconds())
}
}