ref/lib/logger: provide an implementation of v23/logger.
MultiPart: 2/3
Change-Id: Idc9f5e90863ee40f336be058d9384b8a44a5f2d3
diff --git a/runtime/internal/util.go b/runtime/internal/util.go
index 58894d7..6a49e50 100644
--- a/runtime/internal/util.go
+++ b/runtime/internal/util.go
@@ -10,10 +10,11 @@
"os"
"strings"
- "v.io/v23/verror"
- "v.io/x/lib/vlog"
-
"v.io/x/lib/netstate"
+
+ "v.io/v23/logging"
+ "v.io/v23/verror"
+
"v.io/x/ref/lib/exec"
"v.io/x/ref/lib/flags"
)
@@ -80,7 +81,7 @@
}
// HasPublicIP returns true if the host has at least one public IP address.
-func HasPublicIP(log vlog.Logger) bool {
+func HasPublicIP(log logging.Logger) bool {
state, err := netstate.GetAccessibleIPs()
if err != nil {
log.Infof("failed to determine network state: %s", err)