A C++ library for logging very fast and without allocating.
25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
include_directories(./public_include)
|
|
include_directories(./include)
|
|
|
|
Include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
NlohmannJson
|
|
GIT_REPOSITORY https://github.com/nlohmann/json.git
|
|
GIT_TAG v3.11.2
|
|
OVERRIDE_FIND_PACKAGE
|
|
)
|
|
|
|
FetchContent_MakeAvailable(NlohmannJson)
|
|
|
|
add_library(SnugLog
|
|
include/disruptor.h
|
|
source/disruptor.cpp include/sink.h include/registry.h include/source.h public_include/sl/strategies.h public_include/sl/register.h public_include/sl/transaction.h source/registry.cpp public_include/sl/logger.h source/logger.cpp)
|
|
target_link_libraries(SnugLog PRIVATE nlohmann_json )
|