A C++ library for logging very fast and without allocating.
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
|
|
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 )
|