mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
wrap long lines with many logging parameters to multiple lines
for improved readability
This commit is contained in:
@ -115,7 +115,10 @@ func loadStaticGzipCache(dir string, maxSize int64) {
|
||||
if err != nil {
|
||||
pkglog.Infox("removing unusable/unrecognized file in static gzip cache dir", err)
|
||||
xerr := os.Remove(filepath.Join(dir, name))
|
||||
pkglog.Check(xerr, "removing unusable file in static gzip cache dir", slog.Any("error", err), slog.String("dir", dir), slog.String("filename", name))
|
||||
pkglog.Check(xerr, "removing unusable file in static gzip cache dir",
|
||||
slog.Any("error", err),
|
||||
slog.String("dir", dir),
|
||||
slog.String("filename", name))
|
||||
continue
|
||||
}
|
||||
staticgzcache.paths[path] = gzfile{
|
||||
|
Reference in New Issue
Block a user