* split log console output sink into two sinks, one for cout and one for cerr.

* remove logger_oldboost_version files and add ifdef boost version in logger.cxx instead

* change default logger level in FairMqProgOptions
This commit is contained in:
winckler
2015-09-29 16:50:44 +02:00
parent 54e1777c00
commit a75486f3ec
10 changed files with 55 additions and 418 deletions

View File

@@ -19,11 +19,8 @@ set(LINK_DIRECTORIES ${Boost_LIBRARY_DIRS})
link_directories(${LINK_DIRECTORIES})
if(NOT ("${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}" VERSION_LESS "1.56") )
set(SRCS logger.cxx)
else()
set(SRCS logger_oldboost_version.cxx)
endif()
set(SRCS logger.cxx)
set(LIBRARY_NAME fairmq_logger)
set(DEPENDENCIES
@@ -36,11 +33,9 @@ set(DEPENDENCIES
pthread
)
if(NOT ("${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}" VERSION_LESS "1.56") )
install(FILES logger.h logger_def.h DESTINATION include/logger)
else()
install(FILES logger_oldboost_version.h logger_def.h fairroot_null_deleter.h DESTINATION include/logger)
install(FILES logger.h logger_def.h DESTINATION include/logger)
if("${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}" VERSION_LESS "1.56")
install(FILES fairroot_null_deleter.h DESTINATION include/logger)
endif()