A lightweight, high-performance, industrial-grade logging library for C++, Java, C#, Python, TypeScript, and game engines, battle-tested in Honor of Kings.
BqLog is a lightweight, high-performance logging library developed by Tencent and battle-tested in large-scale online projects like Honor of Kings. It provides a unified logging solution across multiple programming languages and platforms, solving performance and storage challenges in high-concurrency environments.
Developers building performance-critical applications, especially in gaming (Unity/Unreal), mobile (Android/iOS/HarmonyOS), and server-side systems requiring efficient, cross-language logging.
Developers choose BqLog for its exceptional speed (3–10x faster than alternatives like Log4j2), low memory footprint, built-in log compression/encryption, and seamless multi-language support within a single process.
Maybe the world's fastest logging library. Lightweight & industrial-grade, battle-tested in Honor of Kings. C++/Java/C#/Kotlin/TS, Unity/Unreal/HarmonyOS. 可能是全球最快的日志库——轻量级且工业级,源自《王者荣耀》,支持多语言多平台
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarks show BqLog is 3–10 times faster than Log4j2 in high-concurrency tests, with memory usage as low as 1 MB for 20 million log entries.
Provides a consistent logging interface across C++, Java, C#, Python, and more, allowing different language wrappers to access the same log object within a process.
Offers high-compression real-time log format with optional hybrid encryption that has minimal performance overhead, addressing storage and security needs directly.
Asynchronous logging is designed to avoid data loss and supports recovery from application crashes, ensuring log integrity in unstable environments.
The high-performance compressed file appender outputs logs that are not human-readable without decryption, complicating quick debugging and requiring extra tools.
Requires CMake-based builds and platform-specific integration steps, as noted in the separate integration guides, which can be cumbersome compared to drop-in logging libraries.
Version 2.x deprecated features like the raw_file appender and introduced configuration changes, potentially disrupting upgrades for existing users.