{"id":60254,"library":"spdlog","title":"spdlog","description":"Very fast, header-only/compiled, C++ logging library.","status":"active","version":"1.17.0","language":"cpp","source_language":null,"source_url":null,"tags":["logging","fast","header-only","c++"],"install":[{"cmd":"vcpkg install spdlog","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(spdlog CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE spdlog::spdlog)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"spdlog/spdlog.h","correct":"#include <spdlog/spdlog.h>"}],"quickstart":{"code":"#include <spdlog/spdlog.h>\n\nint main() {\n    spdlog::info(\"Hello, {}!\", \"world\");\n    spdlog::warn(\"This is a warning\");\n    spdlog::error(\"An error occurred\");\n    return 0;\n}","lang":"cpp","description":"Logs messages at different severity levels."},"warnings":[{"fix":"Define SPDLOG_COMPILED_LIB or use the CMake target consistently.","message":"spdlog can be used as header-only or compiled; mixing modes can cause linker errors.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'/compiled':7 'c':8,16 'fast':3,12 'header':5,14 'header-on':4,13 'librari':10 'log':9,11 'spdlog':1","created_at":"2026-06-16T19:22:48.151644+00:00","updated_at":"2026-06-16T19:22:48.151644+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}