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

Add support for arbitrary function objects as `filter` and `formatter` parameters #63

Closed
Lastique opened this issue Nov 26, 2018 · 0 comments

Comments

@Lastique
Copy link
Member

commented Nov 26, 2018

This would be especially useful for C++11 lambdas so that code like this works:

logging::add_file_log(
    keywords::file_name = "A.log",
    keywords::filter = [](boost::log::attribute_value_set const& attrs) { return true; }
);

@Lastique Lastique closed this in e4f91a2 Jun 24, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.