Skip to content

add daily sink filename format#1847

Merged
gabime merged 6 commits intogabime:v1.xfrom
fawdlstty:v1.x
Feb 26, 2021
Merged

add daily sink filename format#1847
gabime merged 6 commits intogabime:v1.xfrom
fawdlstty:v1.x

Conversation

@fawdlstty
Copy link
Copy Markdown
Contributor

example:

std::shared_ptr<spdlog::logger> _logger = spdlog::daily_logger_format_mt ("module", "%Y%m%d.log");
_logger->info ("hahahaha");

then will create file 20210225.log

@fawdlstty fawdlstty requested a review from gabime February 26, 2021 02:10
@gabime gabime merged commit 2686ae2 into gabime:v1.x Feb 26, 2021
@gabime
Copy link
Copy Markdown
Owner

gabime commented Feb 26, 2021

Thanks @fawdlstty . Merged.

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