Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
Creating

a log entry:

// Simple log entry
log_entry entry(log_level::info, "Application started");
// Log entry with source location
log_entry detailed_entry(
log_level::error,
"Database connection failed",
__FILE__,
__LINE__,
__FUNCTION__
);
// Log entry with optional fields
log_entry custom_entry(log_level::debug, "Debug message");
custom_entry.category = "database";
custom_entry.thread_id = std::to_string(std::this_thread::get_id());