Skip to content

Release v1.0.8

Choose a tag to compare

@github-actions github-actions released this 02 Apr 21:02
· 50 commits to main since this release

Changes

  • Add cross-DSO logger instance sharing via Logger::set_instance() and Logger::clear_instance_override()
    • Enables plugin/shared-library architectures where dynamically-loaded modules should route LOG_* calls to the host application's logger
    • instance() now uses an std::atomic<Logger*> initialized to the library-local singleton, swappable at runtime
    • Thread-safe: atomic acquire-release ordering ensures full visibility of the target logger's initialization
  • Add Logger::flush(): blocks until all queued log entries are written, then returns with the logger still running
    • Use before FreeLibrary/dlclose to drain entries whose format-string pointers live in the plugin's code segment