Fix nanoswitch logging after logtree refactor
The LogTree refactor left nanoswitch without a way to sink its logs as it doesn't have
a gRPC endpoint to read them from and logtree doesn't output to any stdout/stderr by default.
This adds a simple sink similar to what's currently used the node code.
Test Plan: Manually tested
X-Origin-Diff: phab/D672
GitOrigin-RevId: 8698f9f920f36adf11fa1ef34a47723514eaa665
diff --git a/metropolis/test/nanoswitch/BUILD b/metropolis/test/nanoswitch/BUILD
index 7b088f1..ee8c2c2 100644
--- a/metropolis/test/nanoswitch/BUILD
+++ b/metropolis/test/nanoswitch/BUILD
@@ -9,6 +9,7 @@
deps = [
"//metropolis/node:go_default_library",
"//metropolis/node/common/supervisor:go_default_library",
+ "//metropolis/node/core/logtree:go_default_library",
"//metropolis/node/core/network/dhcp4c:go_default_library",
"//metropolis/node/core/network/dhcp4c/callback:go_default_library",
"//metropolis/test/launch:go_default_library",