-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing ext declaration for log detail::format #1482
Conversation
Tagging @ahendriksen for review. We should update the test so that such problems do not go undetected. The problem is, by default the debug and trace logging are disabled by RAFT_ACTIVE_LEVEL. Shall we just define adequate active level for the unit test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I overlooked the detail namespace because I thought it would not get called from outside code..
I agree it makes sense to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Allard for the suggestion!
/merge |
The
format
function is used by debug and trace loggers. While PR #1469 has restructured the logger headers it was forgotten to exposedetail::format
in case theRAFT_EXPLICIT_INSTANTIATE_ONLY
is defined. This PR fixes that.