apkipa 28609cf51c change API; add logs | 5 days ago | |
---|---|---|
demo | 5 days ago | |
include | 5 days ago | |
misc | 1 week ago | |
profiles | 5 days ago | |
src | 5 days ago | |
test_package | 5 days ago | |
.clang-format | 3 weeks ago | |
.gitignore | 1 week ago | |
CMakeLists.txt | 5 days ago | |
CMakeUserPresets.json | 3 weeks ago | |
README.md | 5 days ago | |
conanfile.py | 5 days ago | |
deploy.sh | 3 weeks ago | |
init_vscode_cmake.sh | 1 week ago | |
package.sh | 5 days ago |
lib
存放依赖库(分为 x86-64 与 aarch64)。
include
存放头文件。
demo
存放 API 使用示例。
编译命令:
g++ -std=c++17 -Iinclude -Llib demo/tsdbtest_lf.cpp -o tsdbtest_lf -ltsdb-merged
若需要日志输出,请在执行程序前配置如下环境变量:
SPDLOG_LEVEL=trace
/ SPDLOG_LEVEL=debug
: 显示 trace / debug 等级的日志TSDB_USE_FILE_LOGGING=1
: 将日志写入文件而不是标准输出TSDB_LOG_PATH
: 日志文件路径,默认为 tsdb.log