Skip to content

Update Logging - #140

Merged
ecbadeaux merged 1 commit into
mainfrom
ImproveLogging
Aug 5, 2026
Merged

Update Logging#140
ecbadeaux merged 1 commit into
mainfrom
ImproveLogging

Conversation

@ecbadeaux

Copy link
Copy Markdown
Contributor

Removed #include <logger.h> from registry.h and added a SetLogLevel(spdlog::level::level_enum) entry point in its place, so consumers can adjust the spectator log level without pulling spectator::Logger — along with spdlog/spdlog.h, spdlog/async.h, and fmt/core.h — into every translation unit that includes a Registry. registry.cpp now includes logger.h directly for its own Logger::info calls and implements SetLogLevel, guarding against the null logger that logger.h leaves behind when spdlog initialization fails.

@ecbadeaux
ecbadeaux merged commit 656bf58 into main Aug 5, 2026
1 check passed
@ecbadeaux
ecbadeaux deleted the ImproveLogging branch August 5, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant