logging: added memoization of Logger instances per context (#1369)

This commit is contained in:
Jarek Kowalski authored and GitHub committed 2021-10-09 05:02:18 -07:00
1 parent 6472d171d4
commit 8b760b66a8
46 files changed
+106 -73

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
"github.com/kopia/kopia/repo/object"
)
var log = logging.GetContextLoggerFunc("kopia/cachefs")
var log = logging.Module("kopia/cachefs")
const dirCacheExpiration = 24 * time.Hour