A C++ library for logging very fast and without allocating.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

19 lignes
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 )