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