1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

Use logger to print some debug messages than fmt.print

这个提交包含在:
Phy
2020-03-23 01:20:49 -04:00
父节点 c5ed682a49
当前提交 4d461bd172
共有 2 个文件被更改,包括 3 次插入3 次删除

查看文件

@@ -96,7 +96,7 @@ func (p *cmdProvider) Run() error {
}
if p.failOnMatch != nil {
matches, err := internal.FindAllSubmatchInFile(p.LogFile(), p.failOnMatch)
fmt.Printf("FindAllSubmatchInFile: %q\n", matches)
logger.Infof("FindAllSubmatchInFile: %q\n", matches)
if err != nil {
return err
}