mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
♻️ 日志组件单独抽取项目 https://github.com/siyuan-note/siyuan/issues/5439
This commit is contained in:
3
kernel/cache/asset.go
vendored
3
kernel/cache/asset.go
vendored
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user