Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. BqLog

BqLog

NOASSERTIONC++Release_2.7.1

A lightweight, high-performance, industrial-grade logging library for C++, Java, C#, Python, TypeScript, and game engines, battle-tested in Honor of Kings.

GitHubGitHub
707 stars59 forks0 contributors

What is BqLog?

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.

Target Audience

Developers building performance-critical applications, especially in gaming (Unity/Unreal), mobile (Android/iOS/HarmonyOS), and server-side systems requiring efficient, cross-language logging.

Value Proposition

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.

Overview

A lightweight, high-performance, industrial-grade cross-language logging library (C++/Java/C#/Kotlin/TS/Python/Go), battle-tested in Honor of Kings.

Use Cases

Best For

  • High-performance game logging in Unity or Unreal Engine
  • Server-side applications requiring low-latency logging under high concurrency
  • Cross-platform mobile apps (iOS, Android, HarmonyOS) needing efficient logging
  • Multi-language projects (e.g., C++ backend with Java/Python services) wanting unified logging
  • Applications with strict storage constraints needing compressed logs
  • Scenarios requiring encrypted log files for security compliance

Not Ideal For

  • Projects requiring immediate, plain-text log readability without additional decryption tools
  • Teams deeply embedded in mature logging ecosystems like Logback for Java or Winston for Node.js where migration effort outweighs performance gains
  • Small-scale applications with minimal logging needs where the overhead of a high-performance system is unnecessary

Pros & Cons

Pros

Blazing Fast Performance

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.

Unified Multi-Language API

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.

Built-in Compression & Encryption

Offers high-compression real-time log format with optional hybrid encryption that has minimal performance overhead, addressing storage and security needs directly.

Robust Crash Recovery

Asynchronous logging is designed to avoid data loss and supports recovery from application crashes, ensuring log integrity in unstable environments.

Cons

Compressed Logs Unreadable

The high-performance compressed file appender outputs logs that are not human-readable without decryption, complicating quick debugging and requiring extra tools.

Steep Integration Curve

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.

Breaking Changes Between Versions

Version 2.x deprecated features like the raw_file appender and introduced configuration changes, potentially disrupting upgrades for existing users.

Frequently Asked Questions

Quick Stats

Stars707
Forks59
Contributors0
Open Issues0
Last commit2 days ago
CreatedSince 2024

Tags

#multi-language#ios#high-performance#csharp#java#c-plus-plus#posix#python#game-development#logging#typescript#unity#mac#linux#cross-platform#c-sharp#cpp

Built With

U
Unreal Engine
U
Unity
C
CPython
N
Node.js
C
CMake
C
C++

Included in

C/C++70.6k
Auto-fetched 1 day ago

Related Projects

spdlogspdlog

Fast C++ logging library.

Stars29,698
Forks5,338
Last commit7 days ago
glogglog

C++ implementation of the Google logging module

Stars7,377
Forks2,187
Last commit1 year ago
Easylogging++Easylogging++

C++ logging library. It is powerful, supports asynchronous low latency, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.

Stars3,933
Forks942
Last commit1 year ago
QuillQuill

Ultra-low-latency asynchronous C++17 logging and metrics library for performance-critical applications

Stars3,063
Forks274
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub