Unverified Commit fa659bf7 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update daily_file_sink.h

parent 9b416496
...@@ -39,6 +39,10 @@ struct daily_filename_calculator ...@@ -39,6 +39,10 @@ struct daily_filename_calculator
/* /*
* Generator of daily log file names with strftime format. * Generator of daily log file names with strftime format.
* Usages:
* auto sink = std::make_shared<spdlog::sinks::daily_file_format_sink_mt>("myapp-%Y-%m-%d:%H:%M:%S.log", hour, minute);"
* auto logger = spdlog::daily_logger_format_mt("loggername, "myapp-%Y-%m-%d:%X.log", hour, minute)"
*
*/ */
struct daily_filename_format_calculator struct daily_filename_format_calculator
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment