mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
♻️ 日志组件单独抽取项目 https://github.com/siyuan-note/siyuan/issues/5439
This commit is contained in:
parent
c8ea858976
commit
505b973c2d
70 changed files with 671 additions and 942 deletions
|
|
@ -25,6 +25,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/88250/gulu"
|
||||
"github.com/siyuan-note/logging"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
@ -96,7 +97,7 @@ func GetLocalIPs() (ret []string) {
|
|||
ret = []string{}
|
||||
addrs, err := net.InterfaceAddrs()
|
||||
if nil != err {
|
||||
LogWarnf("get interface addresses failed: %s", err)
|
||||
logging.LogWarnf("get interface addresses failed: %s", err)
|
||||
return
|
||||
}
|
||||
for _, addr := range addrs {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue