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

Auto format: duration #81

Open
3Hren opened this issue Jan 20, 2016 · 0 comments
Open

Auto format: duration #81

3Hren opened this issue Jan 20, 2016 · 0 comments

Comments

@3Hren
Copy link
Owner

3Hren commented Jan 20, 2016

Given a std::chrono::duration value: const std::chrono::seconds value(1);

Suggest some way to auto format both pattern placeholders and attributes when provided values of such type. For example:

logger.log(4, "elapsed: {}", std::chrono::seconds(1), attribute_list{
    "duration", std::chrono::seconds(100)
});

@shindo you might be interested.

@3Hren 3Hren added this to the v1.1 milestone Jan 20, 2016
@3Hren 3Hren removed this from the v1.1 milestone Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant