aboutsummaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2021-02-01 18:21:19 -0500
committerGravatar Benjamin Barenblat <bbaren@google.com>2021-02-04 09:57:43 -0500
commite3f1c54506041fc65e261cd27d34fb04b44a90c7 (patch)
tree007a7dc6fd19315b29c078b1a8570b61a947467f /buildconf
parentadd4f0914939d1f9ab894bfab02e3775f10af469 (diff)
Add a basic logging framework
Create a basic system to emit diagnostics to the user during operation. Mimic the glog API for the most part, but use an output format similar to that of coreutils and other established command-line tools. Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
Diffstat (limited to 'buildconf')
-rw-r--r--buildconf/common.ninja3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildconf/common.ninja b/buildconf/common.ninja
index 82223b0..6ec7e96 100644
--- a/buildconf/common.ninja
+++ b/buildconf/common.ninja
@@ -30,5 +30,8 @@ rule link
build gsrsup.o: cxx gsrsup.cc
build gsrsup: link gsrsup.o
+build log_test.o: cxx log_test.cc
+build log_test: link log_test.o
+ libs = -lgmock_main -lgmock -lgtest -labsl_strings -pthread
default gsrsup