aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/dirtree.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-11-27 11:29:34 +0100
committerRobin Jarry <robin@jarry.cc>2022-12-02 22:10:49 +0100
commit23a05d17ac1d23466ff73efa19576d43d06efe4b (patch)
tree49986587a62bdd89eb06ffa2aadf05f6d45cb3e7 /widgets/dirtree.go
parent70f46757449c8f24b818f4dfc5dcb87da7e327d6 (diff)
downloadaerc-23a05d17ac1d23466ff73efa19576d43d06efe4b.tar.gz
logging: rename package to log
Use the same name than the builtin "log" package. That way, we do not risk logging in the wrong place. Suggested-by: Tim Culverhouse <tim@timculverhouse.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'widgets/dirtree.go')
-rw-r--r--widgets/dirtree.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/dirtree.go b/widgets/dirtree.go
index 8a3dab6f..e9fbf061 100644
--- a/widgets/dirtree.go
+++ b/widgets/dirtree.go
@@ -9,7 +9,7 @@ import (
"git.sr.ht/~rjarry/aerc/config"
"git.sr.ht/~rjarry/aerc/lib"
"git.sr.ht/~rjarry/aerc/lib/ui"
- "git.sr.ht/~rjarry/aerc/logging"
+ "git.sr.ht/~rjarry/aerc/log"
"git.sr.ht/~rjarry/aerc/worker/types"
"github.com/gdamore/tcell/v2"
)
@@ -389,7 +389,7 @@ func (dt *DirectoryTree) buildTree() {
return nil
})
if err != nil {
- logging.Warnf("failed to walk tree: %v", err)
+ log.Warnf("failed to walk tree: %v", err)
}
}
}
@@ -455,7 +455,7 @@ func getAnyUid(node *types.Thread) (uid uint32) {
return nil
})
if err != nil {
- logging.Warnf("failed to get uid: %v", err)
+ log.Warnf("failed to get uid: %v", err)
}
return
}