ref/lib/logger: provide an implementation of v23/logger.
MultiPart: 2/3
Change-Id: Idc9f5e90863ee40f336be058d9384b8a44a5f2d3
diff --git a/test/init.go b/test/init.go
index d86b452..071d9c1 100644
--- a/test/init.go
+++ b/test/init.go
@@ -10,11 +10,10 @@
"runtime"
"sync"
- "v.io/x/lib/vlog"
-
"v.io/v23"
"v.io/v23/context"
+ "v.io/x/ref/internal/logger"
"v.io/x/ref/lib/flags"
"v.io/x/ref/test/testutil"
)
@@ -57,7 +56,7 @@
// This will be the case if this is called from the init()
// function of a _test.go file.
flag.Parse()
- vlog.ConfigureLibraryLoggerFromFlags()
+ logger.Manager(logger.Global()).ConfigureFromFlags()
}
once.Do(init)
}