Skip to content
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

boost/log: format_named_scope can not handle the function with anonymous namespace #86

Open
Arlea1221 opened this issue May 24, 2019 · 1 comment

Comments

@Arlea1221
Copy link

use boost::log::format_named_scope, it can not handle the function with anonymous namespace:
%n (%f:%l) : void aa::bb::{anonymous}::test() (/home/joycguan/projects/test/62_log.cpp:443)
--> Right
%c (%f:%l) : anonymous}::test (/home/joycguan/projects/test/62_log.cpp:443)
--> Wrong

@mclow mclow transferred this issue from boostorg/boost May 29, 2019
@Lastique
Copy link
Member

%c and %C placeholders are known to not support all cases well. Do not use them if you want predictable output.

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

No branches or pull requests

2 participants