feat(log): enable console logging in RelWithDebInfo builds (#14439)

* feat(log): enable console logging in RelWithDebInfo builds

* perf(log): make console logging async to avoid blocking startup

* fix(log): gate console sink to RelWithDebInfo builds

---------

Co-authored-by: Gabriel <bielpaess912@gmail.com>
This commit is contained in:
Gabriel Monteiro
2026-07-02 10:49:51 -03:00
committed by GitHub
parent 5bccc25705
commit dbe99d0d6f
5 changed files with 46 additions and 2 deletions

View File

@@ -194,6 +194,7 @@ std::string debug_out_path(const char *name, ...);
// smaller level means less log. level=5 means saving all logs.
void set_log_path_and_level(const std::string& file, unsigned int level);
void flush_logs();
void shutdown_console_logging();
boost::filesystem::path get_log_file_name();
// A special type for strings encoded in the local Windows 8-bit code page.