feat(logger): add timestamp support to log messages
This commit is contained in:
+3
-2
@@ -16,7 +16,8 @@ BUILD_DIR := $(ROOT_DIR)/build
|
||||
|
||||
TARGET := $(BUILD_DIR)/liblogger.so
|
||||
|
||||
SRC := src/logger.cpp
|
||||
SRC := src/logger.cpp \
|
||||
src/time_utils.cpp
|
||||
|
||||
|
||||
.PHONY: all clean
|
||||
@@ -31,7 +32,7 @@ $(TARGET): $(SRC)
|
||||
$(CC) \
|
||||
$(CXXFLAGS) \
|
||||
-shared \
|
||||
$< \
|
||||
$^ \
|
||||
-o $@ \
|
||||
$(LDFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user