A C++ library for logging very fast and without allocating.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 rivejä
635 B

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 )