dilog is designed with two key principles in mind: security and minimalism.
An effort has been made to ensure that dilog is thread-safe and memory-safe. By using atomic operations and static memory allocation, we minimize the risk of race conditions and memory-related vulnerabilities. The library avoids dynamic memory allocation and ensures all buffers are managed safely to prevent common issues like buffer overflows or use-after-free.
We believe that simplicity leads to security. dilog follows a minimalist approach, keeping the codebase small, readable, and easy to audit. By reducing complexity, we ensure that the library remains fast, efficient, and easy to understand while maintaining robust security.
This approach makes dilog an ideal logging solution for projects where both performance and safety are critical, without sacrificing simplicity.