mirror of
https://github.com/kopia/kopia.git
synced 2026-09-08 11:26:03 -04:00
logging: added memoization of Logger instances per context (#1369)
This commit is contained in:
1 parent
6472d171d4
commit
8b760b66a8
46 files changed
+106
-73
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user