mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 02:21:34 +08:00
comment
This commit is contained in:
parent
c19e325b83
commit
aac7dccf45
@ -34,7 +34,7 @@ SPDLOG_INLINE void file_helper::open(const filename_t &fname, bool truncate)
|
|||||||
|
|
||||||
for (int tries = 0; tries < open_tries_; ++tries)
|
for (int tries = 0; tries < open_tries_; ++tries)
|
||||||
{
|
{
|
||||||
// will not created if already exists or empty.
|
// create if not empty and not exists already
|
||||||
os::create_dir(folder_name);
|
os::create_dir(folder_name);
|
||||||
|
|
||||||
if (!os::fopen_s(&fd_, fname, mode))
|
if (!os::fopen_s(&fd_, fname, mode))
|
||||||
|
Loading…
Reference in New Issue
Block a user