mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-28 08:20:19 +08:00
comment
This commit is contained in:
parent
88335bd92e
commit
bd92c23add
@ -36,7 +36,7 @@ SPDLOG_INLINE void file_helper::open(const filename_t &fname, bool truncate)
|
|||||||
{
|
{
|
||||||
if (!folder_name.empty())
|
if (!folder_name.empty())
|
||||||
{
|
{
|
||||||
os::create_dir(folder_name);
|
os::create_dir(folder_name); // will not created if already exists
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!os::fopen_s(&fd_, fname, mode))
|
if (!os::fopen_s(&fd_, fname, mode))
|
||||||
|
Loading…
Reference in New Issue
Block a user