zones: introduce (private) logger interface

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-07 13:55:32 +00:00
parent 45447275a7
commit 5e5958d22e
3 changed files with 52 additions and 0 deletions
+1
View File
@@ -69,6 +69,7 @@ func WithLogger(log slog.Logger) ScanOption {
}
opt.Logger = log
m.log = log
return nil
}
}