From cb16e5781ec9620ea179931888ef052aa99d757f Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 31 Oct 2024 11:02:14 +0800 Subject: [PATCH] :art: Add logging https://github.com/siyuan-note/siyuan/issues/12960 --- kernel/util/ocr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/util/ocr.go b/kernel/util/ocr.go index f7d2db15d..24be30bb2 100644 --- a/kernel/util/ocr.go +++ b/kernel/util/ocr.go @@ -228,7 +228,7 @@ func Tesseract(imgAbsPath string) (ret []map[string]interface{}) { } tsv := string(output) - logging.LogInfof("tesseract [path=%s, size=%d] success", imgAbsPath, info.Size()) + logging.LogInfof("tesseract [path=%s] success [%s]", imgAbsPath, tsv) // 按行分割 TSV 数据 lines := strings.Split(tsv, "\r\n")