mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-01 10:59:02 +08:00
wip - no-exceptions support
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
{
|
||||
if (rotation_hour < 0 || rotation_hour > 23 || rotation_minute < 0 || rotation_minute > 59)
|
||||
{
|
||||
throw spdlog_ex("daily_file_sink: Invalid rotation time in ctor");
|
||||
SPDLOG_THROW spdlog_ex("daily_file_sink: Invalid rotation time in ctor");
|
||||
}
|
||||
auto now = log_clock::now();
|
||||
file_helper_.open(FileNameCalc::calc_filename(base_filename_, now_tm(now)), truncate_);
|
||||
|
Reference in New Issue
Block a user