Support pluggable backend log lib with glog (#2695)

* [WIP] Support different backend log lib

* Refine code, unify level, address comment

* Address comment and change formatter

* Fix linux building failure.

* Fix lint

* Remove log4cplus.

* Add log init to raylet main and add test to travis.

* Address comment and refine.

* Update logging_test.cc
This commit is contained in:
Yuhong Guo
2018-08-24 00:43:38 +08:00
committed by Philipp Moritz
parent 4be324efc3
commit eec1a3eb89
10 changed files with 339 additions and 67 deletions
+4 -1
View File
@@ -14,4 +14,7 @@ endif()
add_library(ray_redis_module SHARED ray_redis_module.cc)
target_compile_options(ray_redis_module PUBLIC ${REDIS_MODULE_CFLAGS} -fPIC)
target_link_libraries(ray_redis_module ${REDIS_MODULE_LDFLAGS})
target_link_libraries(ray_redis_module
# RAY_CHECK needs this lib.
LINK_PUBLIC ray_static
${REDIS_MODULE_LDFLAGS})