-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ajeet Singh Yadav edited this page Feb 13, 2026
·
1 revision
A modern, high-performance C++ logging library for VertexNova and your C++ projects.
| Quick Start | Installation | User Guide | API Reference |
|---|
- Dual modes: Synchronous (debugging) and asynchronous (production)
- Multiple sinks: Console (with colors) and file output
- Thread-safe: Safe concurrent logging
-
Stream API:
VNE_LOG_INFO << "message" << value; - Customizable patterns: Timestamp, level, thread ID, file, line
- Multiple loggers: Separate loggers for subsystems (physics, render, etc.)
- Cross-platform: Linux, macOS, Windows, iOS, Android, Web
#include <vertexnova/logging/logging.h>
namespace { CREATE_VNE_LOGGER_CATEGORY("app") }
int main() {
vne::log::LoggerConfig config;
config.sink = vne::log::LogSinkType::eBoth;
config.file_path = "app.log";
config.log_level = vne::log::LogLevel::eDebug;
vne::log::Logging::configureLogger(config);
VNE_LOG_INFO << "Started";
VNE_LOG_DEBUG << "Count: " << 42;
VNE_LOG_ERROR << "Failed";
vne::log::Logging::shutdown();
return 0;
}- VertexNova Tutorial: Adding Logging — Step-by-step guide for adding vnelogging to your project
- GitHub Repository — Source code, issues, examples
Last updated: 2026-02-13 · Edit this page · Report issue*
© VertexNova · Apache License 2.0 · Learn VertexNova