8000 Expend support for any std::chrono::duration in spdlog::flush_every by LucasChollet · Pull Request #2439 · gabime/spdlog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Expend support for any std::chrono::duration in spdlog::flush_every #2439

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

Merged
merged 1 commit into from
Jul 17, 2022

Conversation

LucasChollet
Copy link
Contributor

This allows things like:

spdlog::flush_every(std::chrono::minutes(10));
spdlog::flush_every(std::chrono::milliseconds(100));

Copy link
Owner
@gabime gabime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looks good. Please revet the changes in the test

This allows things like:

spdlog::flush_every(std::chrono::minutes(10));
spdlog::flush_every(std::chrono::milliseconds(100));
@LucasChollet
Copy link
Contributor Author
LucasChollet commented Jul 17, 2022 •< 8000 /span>

I removed SPDLOG_API from spdlog::flush_every declaration and replace it with inline.
It solves the CI issue.

@gabime gabime merged commit 8348406 into gabime:v1.x Jul 17, 2022
@gabime
Copy link
Owner
gabime commented Jul 17, 2022

Thanks @LucasChollet

@LucasChollet LucasChollet deleted the duration branch July 19, 2022 18:30
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

Successfully merging this pull request may close these issues.

2 participants
0